Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",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.001005/0.001005, allocations: 95.22 kB / 16.99 MB, free: 5.941 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.0009093/0.0009093, allocations: 181.3 kB / 17.87 MB, free: 5.609 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.348/1.348, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003504/0.0003505, allocations: 8.719 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1207, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.01791/0.1386, allocations: 18.26 MB / 489.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.15, allocations: 7.486 MB / 497.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.1512, allocations: 35.69 kB / 497.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.1524, allocations: 386.1 kB / 497.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.155, allocations: 0.9541 MB / 498.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005416/0.1604, allocations: 1.889 MB / 0.4888 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.1625, allocations: 1.059 MB / 0.4899 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008037/0.1633, allocations: 0.5259 MB / 0.4904 GB, free: 15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.1644, allocations: 0.6035 MB / 0.491 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.165, allocations: 0.4943 MB / 0.4914 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.522e-05/0.1651, allocations: 44 kB / 0.4915 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.1665, allocations: 0.5891 MB / 0.4921 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.1667, allocations: 183.3 kB / 0.4922 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.1669, allocations: 169.3 kB / 0.4924 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.1681, allocations: 1.021 MB / 0.4934 GB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.1681, allocations: 0 / 0.4934 GB, free: 11.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1681, allocations: 0 / 0.4934 GB, free: 11.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1681, allocations: 0 / 0.4934 GB, free: 11.89 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002419/0.1705, allocations: 1.079 MB / 0.4944 GB, free: 10.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.1706, allocations: 12.02 kB / 0.4945 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.1708, allocations: 94.52 kB / 0.4945 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003582/0.1711, allocations: 98.95 kB / 0.4946 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000909/0.172, allocations: 0.5531 MB / 0.4952 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.1721, allocations: 41.25 kB / 0.4952 GB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.632e-05/0.1722, allocations: 55.86 kB / 0.4953 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.1736, allocations: 0.8192 MB / 0.4961 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1737, allocations: 7.938 kB / 0.4961 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.996e-05/0.1737, allocations: 20 kB / 0.4961 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.1738, allocations: 21 kB / 0.4961 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.1754, allocations: 0.7923 MB / 0.4969 GB, free: 8.156 MB / 382.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.004781/0.1802, allocations: 3.636 MB / 0.5004 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.1813, allocations: 0.4883 MB / 0.5009 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/0.1817, allocations: 0.5665 MB / 0.5015 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1818, allocations: 46.86 kB / 0.5015 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006397/0.1824, allocations: 127.3 kB / 0.5016 GB, free: 2.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/0.1824, allocations: 0 / 0.5016 GB, free: 2.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.2833/0.4658, allocations: 8.608 MB / 0.51 GB, free: 23.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.4659, allocations: 111 kB / 0.5101 GB, free: 23.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.4668, allocations: 0.6302 MB / 0.5108 GB, free: 23.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.4669, allocations: 40.36 kB / 0.5108 GB, free: 23.47 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.4671, allocations: 358.6 kB / 0.5111 GB, free: 23.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.4673, allocations: 235.1 kB / 0.5114 GB, free: 23.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.4674, allocations: 15.91 kB / 0.5114 GB, free: 23.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4675, allocations: 391 kB / 0.5118 GB, free: 22.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.469, allocations: 0.5414 MB / 0.5123 GB, free: 22.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.4707, allocations: 0.7356 MB / 0.513 GB, free: 22.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.4724, allocations: 0.6003 MB / 0.5136 GB, free: 22.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4724, allocations: 3.844 kB / 0.5136 GB, free: 22.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.004425/0.4768, allocations: 1.629 MB / 0.5152 GB, free: 22.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003911/0.4772, allocations: 2.011 MB / 0.5171 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4772, allocations: 5.312 kB / 0.5172 GB, free: 20.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/0.4885, allocations: 1.665 MB / 0.5188 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.4899, allocations: 268.1 kB / 0.519 GB, free: 20.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.4921, allocations: 1.673 MB / 0.5207 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.4938, allocations: 134 kB / 0.5208 GB, free: 19.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.494, allocations: 64.69 kB / 0.5209 GB, free: 19.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.494, allocations: 3.344 kB / 0.5209 GB, free: 19.22 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004093/0.4981, allocations: 1.523 MB / 0.5223 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.4981, allocations: 6.188 kB / 0.5224 GB, free: 19.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.5007, allocations: 0.5046 MB / 0.5228 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.5021, allocations: 285.9 kB / 0.5231 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/0.5057, allocations: 3.018 MB / 0.5261 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.5072, allocations: 130.9 kB / 0.5262 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.5074, allocations: 69.48 kB / 0.5263 GB, free: 16.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005516/0.5079, allocations: 300.9 kB / 0.5265 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.5081, allocations: 80.03 kB / 0.5266 GB, free: 16.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004496/0.5126, allocations: 1.922 MB / 0.5285 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.5127, allocations: 11 kB / 0.5285 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5127, allocations: 3.062 kB / 0.5285 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5127, allocations: 3 kB / 0.5285 GB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007/0.5197, allocations: 3.039 MB / 0.5315 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.5198, allocations: 4 kB / 0.5315 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.5208, allocations: 198.9 kB / 0.5317 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007614/0.5284, allocations: 1.409 MB / 0.5331 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/0.5286, allocations: 34.41 kB / 0.5331 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.5303, allocations: 1.619 MB / 0.5347 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5303, allocations: 0 / 0.5347 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005639/0.5359, allocations: 2.348 MB / 0.537 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007121/0.5367, allocations: 288.9 kB / 0.5372 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.5368, allocations: 17.72 kB / 0.5373 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.538, allocations: 132.5 kB / 0.5374 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.5381, allocations: 58.84 kB / 0.5374 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/0.5382, allocations: 45.05 kB / 0.5375 GB, free: 12.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005117/0.5387, allocations: 442.8 kB / 0.5379 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5388, allocations: 4 kB / 0.5379 GB, free: 12.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00195/0.5407, allocations: 0.6033 MB / 0.5385 GB, free: 12.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * 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 (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.006392/0.5471, allocations: 3.19 MB / 0.5416 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005694/0.5528, allocations: 2.25 MB / 0.5438 GB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.5529, allocations: 4.562 kB / 0.5438 GB, free: 8.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.5545, allocations: 0.7152 MB / 0.5445 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.5564, allocations: 358.8 kB / 0.5449 GB, free: 7.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.5613, allocations: 6.017 MB / 0.5507 GB, free: 1.832 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.5617, allocations: 0.9948 MB / 0.5517 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001319/0.563, allocations: 273.5 kB / 0.552 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.5635, allocations: 335.3 kB / 0.5523 GB, free: 444 kB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5635, allocations: 2.188 kB / 0.5523 GB, free: 444 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06118/0.6247, allocations: 36.76 MB / 0.5882 GB, free: 12.23 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.625, allocations: 279.5 kB / 0.5884 GB, free: 11.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.497, allocations: 4 kB / 0.5884 GB, free: 11.87 MB / 430.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat