Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 109.4 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 189.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00261/0.00261, allocations: 277.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.011/1.011, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 103.8 kB / 0.6822 GB, free: 6.844 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4964/0.4992, allocations: 86.98 MB / 0.7671 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2907/0.7898, allocations: 190.9 MB / 0.9536 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4474/1.237, allocations: 5.725 MB / 0.9592 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/1.239, allocations: 41.89 kB / 0.9592 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/1.241, allocations: 0.5945 MB / 0.9598 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00496/1.246, allocations: 1.678 MB / 0.9615 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003964/1.25, allocations: 1.218 MB / 0.9626 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003945/1.254, allocations: 2.557 MB / 0.9651 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/1.255, allocations: 0.8552 MB / 0.966 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/1.258, allocations: 1.087 MB / 0.967 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/1.26, allocations: 0.8546 MB / 0.9679 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002528/1.26, allocations: 109 kB / 0.968 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/1.263, allocations: 1.563 MB / 0.9695 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006818/1.264, allocations: 0.5042 MB / 0.97 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001013/1.265, allocations: 0.6423 MB / 0.9706 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003387/1.268, allocations: 2.194 MB / 0.9728 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.268, allocations: 3.594 kB / 0.9728 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/1.268, allocations: 0 / 0.9728 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.254e-05/1.268, allocations: 0 / 0.9728 GB, free: 1.605 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002579/1.271, allocations: 1.558 MB / 0.9743 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/1.271, allocations: 8.812 kB / 0.9743 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/1.274, allocations: 472.6 kB / 0.9747 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/1.276, allocations: 0.8617 MB / 0.9756 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.903e-05/1.276, allocations: 66.2 kB / 0.9757 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/1.276, allocations: 93.33 kB / 0.9757 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/1.278, allocations: 1.173 MB / 0.9769 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/1.278, allocations: 3.984 kB / 0.9769 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/1.278, allocations: 37.91 kB / 0.9769 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/1.278, allocations: 35.31 kB / 0.977 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/1.28, allocations: 1.067 MB / 0.978 GB, free: 16.26 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007109/1.287, allocations: 4.324 MB / 0.9822 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/1.289, allocations: 0.723 MB / 0.9829 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008668/1.29, allocations: 390.9 kB / 0.9833 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000203/1.29, allocations: 105.2 kB / 0.9834 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/1.29, allocations: 41.19 kB / 0.9834 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 2.565e-06/1.29, allocations: 0.5938 kB / 0.9834 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.006028/1.296, allocations: 2.207 MB / 0.9856 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/1.296, allocations: 56.31 kB / 0.9857 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/1.298, allocations: 0.8663 MB / 0.9865 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.298, allocations: 34.86 kB / 0.9865 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/1.298, allocations: 0.4887 MB / 0.987 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/1.298, allocations: 175.7 kB / 0.9872 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/1.299, allocations: 123.9 kB / 0.9873 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000164/1.299, allocations: 329.6 kB / 0.9876 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009154/1.3, allocations: 368.3 kB / 0.988 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.301, allocations: 0.4998 MB / 0.9885 GB, free: 12.79 MB / 0.7325 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006013/1.307, allocations: 2.259 MB / 0.9907 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.307, allocations: 0 / 0.9907 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002316/1.309, allocations: 0.9946 MB / 0.9916 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.309, allocations: 5.375 kB / 0.9916 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.309, allocations: 6.031 kB / 0.9916 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/1.309, allocations: 9 kB / 0.9916 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009585/1.31, allocations: 188.1 kB / 0.9918 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/1.31, allocations: 10.78 kB / 0.9918 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.311, allocations: 67.3 kB / 0.9919 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-05/1.311, allocations: 25.03 kB / 0.9919 GB, free: 12.44 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005237/1.312, allocations: 316.3 kB / 0.9922 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/1.312, allocations: 99.83 kB / 0.9923 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/1.312, allocations: 102.8 kB / 0.9924 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/1.312, allocations: 7.344 kB / 0.9924 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.312, allocations: 3.031 kB / 0.9924 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001991/1.314, allocations: 1.019 MB / 0.9934 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/1.319, allocations: 2.146 MB / 0.9955 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.319, allocations: 4.75 kB / 0.9955 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/1.32, allocations: 163.7 kB / 0.9957 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/1.32, allocations: 7.031 kB / 0.9957 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/1.32, allocations: 13.25 kB / 0.9957 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/1.32, allocations: 10.84 kB / 0.9957 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/1.32, allocations: 6.125 kB / 0.9957 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/1.323, allocations: 1.422 MB / 0.9971 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/1.324, allocations: 260.2 kB / 0.9974 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/1.324, allocations: 16.2 kB / 0.9974 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.325, allocations: 73.23 kB / 0.9974 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/1.325, allocations: 46.34 kB / 0.9975 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.441e-05/1.325, allocations: 26.86 kB / 0.9975 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007672/1.326, allocations: 0.6 MB / 0.9981 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.326, allocations: 0 / 0.9981 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009509/1.327, allocations: 273.2 kB / 0.9984 GB, free: 10.81 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005113/1.327, allocations: 201.3 kB / 0.9985 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002053/1.329, allocations: 0.7931 MB / 0.9993 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.329, allocations: 4.125 kB / 0.9993 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/1.33, allocations: 377 kB / 0.9997 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/1.333, allocations: 0.584 MB / 1 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/1.338, allocations: 2.199 MB / 1.002 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008346/1.339, allocations: 1.107 MB / 1.003 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001052/1.34, allocations: 255.6 kB / 1.004 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/1.34, allocations: 79.17 kB / 1.004 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/1.34, allocations: 0 / 1.004 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of Templates: time 0.03493/1.375, allocations: 21.19 MB / 1.024 GB, free: 2.023 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)