Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 178.7 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3518/0.3518, allocations: 43.54 MB / 314.5 MB, free: 8.996 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005307/0.0005308, allocations: 12 kB / 384 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 58.85 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization): time 0.3811/0.5012, allocations: 129.3 MB / 0.5588 GB, free: 10 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.5153, allocations: 9.161 MB / 0.5677 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.5166, allocations: 35.69 kB / 0.5677 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001151/0.5177, allocations: 362.1 kB / 0.5681 GB, free: 484 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003448/0.5212, allocations: 1.18 MB / 0.5692 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005875/0.5271, allocations: 2.11 MB / 0.5713 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.5295, allocations: 1.498 MB / 0.5728 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008822/0.5304, allocations: 0.6301 MB / 0.5734 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.5318, allocations: 0.8141 MB / 0.5742 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.533, allocations: 0.7789 MB / 0.5749 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.5332, allocations: 52 kB / 0.575 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004534/0.5378, allocations: 1.829 MB / 0.5768 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004476/0.5383, allocations: 331.1 kB / 0.5771 GB, free: 7.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.5386, allocations: 217.2 kB / 0.5773 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003039/0.5417, allocations: 1.831 MB / 0.5791 GB, free: 5.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5417, allocations: 4 kB / 0.5791 GB, free: 5.199 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5417, allocations: 0 / 0.5791 GB, free: 5.199 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.702e-05/0.5417, allocations: 4 kB / 0.5791 GB, free: 5.195 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003229/0.5449, allocations: 1.375 MB / 0.5804 GB, free: 3.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.545, allocations: 12.02 kB / 0.5804 GB, free: 3.758 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.5452, allocations: 126.4 kB / 0.5806 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.5456, allocations: 122.8 kB / 0.5807 GB, free: 3.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.5468, allocations: 0.6908 MB / 0.5813 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.5469, allocations: 125.6 kB / 0.5815 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.5471, allocations: 63.97 kB / 0.5815 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.5489, allocations: 1.2 MB / 0.5827 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.5489, allocations: 7.844 kB / 0.5827 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.55e-05/0.549, allocations: 27.98 kB / 0.5827 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.5491, allocations: 69.95 kB / 0.5828 GB, free: 1.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.5509, allocations: 1.198 MB / 0.584 GB, free: 40 kB / 446.1 MB 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.008156/0.5591, allocations: 5.004 MB / 0.5889 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.5604, allocations: 0.6775 MB / 0.5895 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003412/0.5638, allocations: 2.485 MB / 0.5919 GB, free: 7.375 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.5638, allocations: 39 kB / 0.592 GB, free: 7.328 MB / 462.1 MB Notification: Performance of pre-optimization done (n=52): time 2.405e-06/0.5638, allocations: 0 / 0.592 GB, free: 7.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=57): time 0.007171/0.571, allocations: 3.023 MB / 0.5949 GB, free: 4.188 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.5712, allocations: 162.8 kB / 0.5951 GB, free: 3.992 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.5725, allocations: 0.9466 MB / 0.596 GB, free: 3.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.5726, allocations: 37.7 kB / 0.596 GB, free: 2.992 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.573, allocations: 479 kB / 0.5965 GB, free: 2.52 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.5732, allocations: 197.2 kB / 0.5967 GB, free: 2.324 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.5732, allocations: 20 kB / 0.5967 GB, free: 2.305 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.5734, allocations: 345.9 kB / 0.597 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007191/0.5741, allocations: 449.7 kB / 0.5975 GB, free: 1.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008677/0.575, allocations: 0.696 MB / 0.5982 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007631/0.5758, allocations: 0.5182 MB / 0.5987 GB, free: 208 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5758, allocations: 4 kB / 0.5987 GB, free: 204 kB / 462.1 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.002424/0.5782, allocations: 1.515 MB / 0.6001 GB, free: 14.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009054/0.5791, allocations: 2.623 MB / 0.6027 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.5792, allocations: 8 kB / 0.6027 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.5808, allocations: 0.5144 MB / 0.6032 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/0.5816, allocations: 183.7 kB / 0.6034 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.5841, allocations: 2.94 MB / 0.6063 GB, free: 7.992 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009522/0.585, allocations: 64.05 kB / 0.6063 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/0.5852, allocations: 43.27 kB / 0.6064 GB, free: 7.891 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.5852, allocations: 4 kB / 0.6064 GB, free: 7.887 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002347/0.5875, allocations: 1.386 MB / 0.6077 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5876, allocations: 4 kB / 0.6077 GB, free: 6.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.5886, allocations: 429 kB / 0.6081 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007467/0.5894, allocations: 191.7 kB / 0.6083 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.592, allocations: 2.837 MB / 0.6111 GB, free: 2.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009326/0.593, allocations: 48.22 kB / 0.6111 GB, free: 2.781 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/0.5931, allocations: 43.98 kB / 0.6112 GB, free: 2.738 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006367/0.5937, allocations: 380.7 kB / 0.6115 GB, free: 2.355 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.5939, allocations: 94.88 kB / 0.6116 GB, free: 2.262 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.5963, allocations: 1.407 MB / 0.613 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.5964, allocations: 11.94 kB / 0.613 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5964, allocations: 3.984 kB / 0.613 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.5964, allocations: 0 / 0.613 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003476/0.5999, allocations: 2.357 MB / 0.6153 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.5999, allocations: 0 / 0.6153 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004432/0.6003, allocations: 91.88 kB / 0.6154 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.6019, allocations: 0.5099 MB / 0.6159 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.6019, allocations: 23.98 kB / 0.6159 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/0.6042, allocations: 2.908 MB / 0.6188 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6043, allocations: 4.031 kB / 0.6188 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.6068, allocations: 1.777 MB / 0.6205 GB, free: 8.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.6074, allocations: 319.6 kB / 0.6208 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.6076, allocations: 12.19 kB / 0.6208 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.6082, allocations: 44.03 kB / 0.6209 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.6084, allocations: 56.41 kB / 0.6209 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.6085, allocations: 32.81 kB / 0.6209 GB, free: 8.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008513/0.6093, allocations: 0.6674 MB / 0.6216 GB, free: 7.641 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.6093, allocations: 0 / 0.6216 GB, free: 7.641 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002053/0.6114, allocations: 0.8159 MB / 0.6224 GB, free: 6.824 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004236/0.6156, allocations: 2.999 MB / 0.6253 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003613/0.6193, allocations: 1.897 MB / 0.6272 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6193, allocations: 1.562 kB / 0.6272 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6204, allocations: 0.5682 MB / 0.6277 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.6223, allocations: 386.3 kB / 0.6281 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1983/0.8206, allocations: 7.64 MB / 0.6356 GB, free: 144.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.8211, allocations: 1.085 MB / 0.6366 GB, free: 144 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001342/0.8224, allocations: 426 kB / 0.637 GB, free: 144 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.8229, allocations: 352.1 kB / 0.6374 GB, free: 144 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8229, allocations: 0 / 0.6374 GB, free: 144 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06718/0.8901, allocations: 36.29 MB / 0.6728 GB, free: 134.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.8903, allocations: 267 kB / 0.6731 GB, free: 134.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/3.706, allocations: 0 / 0.6731 GB, free: 134.4 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat