Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 102.4 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 201 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 45.92 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.000286, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 63.47 MB / 481.5 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault): time 0.03254/0.1568, allocations: 35.5 MB / 0.5049 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2527/0.4095, allocations: 17.36 MB / 0.5219 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/0.4104, allocations: 25.88 kB / 0.5219 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.4116, allocations: 434 kB / 0.5223 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0164/0.428, allocations: 4.09 MB / 0.5263 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01043/0.4385, allocations: 2.959 MB / 0.5292 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.4407, allocations: 1.002 MB / 0.5302 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006904/0.4415, allocations: 371.3 kB / 0.5305 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.4429, allocations: 0.6455 MB / 0.5311 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009466/0.4524, allocations: 5.845 MB / 0.5369 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.4526, allocations: 30.66 kB / 0.5369 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01391/0.4666, allocations: 7.572 MB / 0.5443 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.4668, allocations: 149.6 kB / 0.5444 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.4672, allocations: 173.3 kB / 0.5446 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006242/0.4734, allocations: 3.564 MB / 0.5481 GB, free: 4.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4735, allocations: 0 / 0.5481 GB, free: 4.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4735, allocations: 0 / 0.5481 GB, free: 4.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.4735, allocations: 0 / 0.5481 GB, free: 4.164 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003636/0.4771, allocations: 1.549 MB / 0.5496 GB, free: 2.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4772, allocations: 8.562 kB / 0.5496 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.4773, allocations: 98.52 kB / 0.5497 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/0.4794, allocations: 316.2 kB / 0.55 GB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.4802, allocations: 0.5219 MB / 0.5505 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.4802, allocations: 49.27 kB / 0.5505 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.73e-05/0.4803, allocations: 52 kB / 0.5506 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.4823, allocations: 0.9938 MB / 0.5516 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4824, allocations: 4 kB / 0.5516 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-05/0.4824, allocations: 20 kB / 0.5516 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.4825, allocations: 28.94 kB / 0.5516 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.4848, allocations: 0.9053 MB / 0.5525 GB, free: 15.52 MB / 398.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.005241/0.49, allocations: 4.833 MB / 0.5572 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.4923, allocations: 0.756 MB / 0.558 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05039/0.5427, allocations: 27 MB / 0.5843 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.5428, allocations: 34.56 kB / 0.5844 GB, free: 11.1 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 3.016e-06/0.5428, allocations: 0 / 0.5844 GB, free: 11.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=43): time 0.007049/0.5498, allocations: 1.826 MB / 0.5861 GB, free: 9.246 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.55, allocations: 106.8 kB / 0.5862 GB, free: 9.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.5507, allocations: 0.5183 MB / 0.5868 GB, free: 8.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/0.5508, allocations: 33.7 kB / 0.5868 GB, free: 8.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.551, allocations: 334.6 kB / 0.5871 GB, free: 8.227 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.5512, allocations: 148.7 kB / 0.5872 GB, free: 8.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.5513, allocations: 12 kB / 0.5873 GB, free: 8.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5514, allocations: 370.7 kB / 0.5876 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/0.5521, allocations: 268.9 kB / 0.5879 GB, free: 7.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.5529, allocations: 447.2 kB / 0.5883 GB, free: 6.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006867/0.5535, allocations: 300.9 kB / 0.5886 GB, free: 6.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5536, allocations: 0 / 0.5886 GB, free: 6.633 MB / 430.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001995/0.5556, allocations: 0.8804 MB / 0.5894 GB, free: 5.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007934/0.5564, allocations: 1.999 MB / 0.5914 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.5564, allocations: 4 kB / 0.5914 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/0.5583, allocations: 362.8 kB / 0.5917 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.5589, allocations: 143.8 kB / 0.5919 GB, free: 3.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.5601, allocations: 0.8402 MB / 0.5927 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008712/0.561, allocations: 119.4 kB / 0.5928 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.5611, allocations: 28.73 kB / 0.5928 GB, free: 2.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.5611, allocations: 4 kB / 0.5928 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002084/0.5632, allocations: 0.8277 MB / 0.5937 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5632, allocations: 4 kB / 0.5937 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009733/0.5642, allocations: 221.2 kB / 0.5939 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.5647, allocations: 139.8 kB / 0.594 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009912/0.5657, allocations: 0.798 MB / 0.5948 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007112/0.5664, allocations: 112.2 kB / 0.5949 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.5665, allocations: 31.98 kB / 0.5949 GB, free: 15.92 MB / 446.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: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004231/0.5669, allocations: 284.9 kB / 0.5952 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.567, allocations: 63.3 kB / 0.5952 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/0.5716, allocations: 3.11 MB / 0.5983 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.862e-05/0.5717, allocations: 43.92 kB / 0.5983 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5717, allocations: 0 / 0.5983 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.5717, allocations: 3.984 kB / 0.5983 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.574, allocations: 1.49 MB / 0.5998 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.574, allocations: 0 / 0.5998 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.5744, allocations: 91.86 kB / 0.5999 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002387/0.5768, allocations: 1.056 MB / 0.6009 GB, free: 9.742 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.5768, allocations: 19.98 kB / 0.6009 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.5787, allocations: 1.493 MB / 0.6024 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5787, allocations: 0 / 0.6024 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/0.5819, allocations: 2.106 MB / 0.6044 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.5825, allocations: 338.6 kB / 0.6048 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.5826, allocations: 8 kB / 0.6048 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.5831, allocations: 83.86 kB / 0.6048 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.5833, allocations: 52.44 kB / 0.6049 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.5833, allocations: 23.98 kB / 0.6049 GB, free: 5.562 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006665/0.584, allocations: 459 kB / 0.6054 GB, free: 5.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.584, allocations: 0 / 0.6054 GB, free: 5.113 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004835/0.5889, allocations: 1.378 MB / 0.6067 GB, free: 3.734 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.008847/0.5977, allocations: 3.698 MB / 0.6103 GB, free: 124 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003466/0.6012, allocations: 1.403 MB / 0.6117 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.6013, allocations: 4 kB / 0.6117 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.6025, allocations: 0.8123 MB / 0.6125 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.6043, allocations: 324.4 kB / 0.6128 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.6119, allocations: 7.192 MB / 0.6198 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.6127, allocations: 1.162 MB / 0.621 GB, free: 5.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001186/0.6139, allocations: 0.7699 MB / 0.6217 GB, free: 4.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004619/0.6144, allocations: 407.3 kB / 0.6221 GB, free: 3.91 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6144, allocations: 0 / 0.6221 GB, free: 3.91 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09785/0.7122, allocations: 59.49 MB / 0.6802 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003222/0.7126, allocations: 264.1 kB / 0.6804 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.646/5.358, allocations: 0 / 0.6804 GB, free: 8.32 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat