Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001119/0.001119, allocations: 98.92 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 206.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000253/0.000253, allocations: 8 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1116, allocations: 63.47 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.03442/0.1461, allocations: 35.57 MB / 0.505 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2388/0.3849, allocations: 17.43 MB / 0.522 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009354/0.3859, allocations: 28.62 kB / 0.522 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.3871, allocations: 428.8 kB / 0.5224 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01263/0.3998, allocations: 4.107 MB / 0.5265 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.4101, allocations: 2.957 MB / 0.5293 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.4124, allocations: 1.041 MB / 0.5304 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007665/0.4131, allocations: 392.9 kB / 0.5307 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.4146, allocations: 0.6608 MB / 0.5314 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01008/0.4247, allocations: 5.857 MB / 0.5371 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.425, allocations: 35.06 kB / 0.5371 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01672/0.4417, allocations: 7.571 MB / 0.5445 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003394/0.4421, allocations: 156.8 kB / 0.5447 GB, free: 7.461 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.4426, allocations: 181.3 kB / 0.5448 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008607/0.4512, allocations: 3.599 MB / 0.5484 GB, free: 3.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4513, allocations: 0 / 0.5484 GB, free: 3.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4513, allocations: 0 / 0.5484 GB, free: 3.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.4513, allocations: 3.938 kB / 0.5484 GB, free: 3.891 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005112/0.4564, allocations: 1.585 MB / 0.5499 GB, free: 2.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.569e-05/0.4565, allocations: 8.562 kB / 0.5499 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000144/0.4567, allocations: 102.5 kB / 0.55 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.4589, allocations: 320.2 kB / 0.5503 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.4597, allocations: 0.5246 MB / 0.5508 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.4598, allocations: 53.27 kB / 0.5509 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.4598, allocations: 56 kB / 0.5509 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.4619, allocations: 1.015 MB / 0.5519 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.462, allocations: 4 kB / 0.5519 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.278e-05/0.462, allocations: 24 kB / 0.552 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.121e-05/0.4621, allocations: 25.31 kB / 0.552 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.4646, allocations: 0.9352 MB / 0.5529 GB, free: 15.13 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.006379/0.471, allocations: 4.879 MB / 0.5577 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.4737, allocations: 0.9064 MB / 0.5585 GB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05095/0.5247, allocations: 26.99 MB / 0.5849 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.5248, allocations: 38.94 kB / 0.5849 GB, free: 10.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=47): time 2.204e-06/0.5248, allocations: 4 kB / 0.585 GB, free: 10.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=47): time 0.007544/0.5324, allocations: 2.034 MB / 0.5869 GB, free: 8.477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.727e-05/0.5325, allocations: 115.2 kB / 0.587 GB, free: 8.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007793/0.5333, allocations: 0.534 MB / 0.5876 GB, free: 7.797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.5334, allocations: 37.7 kB / 0.5876 GB, free: 7.754 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.5336, allocations: 344.2 kB / 0.5879 GB, free: 7.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5338, allocations: 162.7 kB / 0.5881 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.5339, allocations: 12 kB / 0.5881 GB, free: 7.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.534, allocations: 362.8 kB / 0.5884 GB, free: 6.887 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006743/0.5347, allocations: 305.1 kB / 0.5887 GB, free: 6.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/0.5355, allocations: 476.2 kB / 0.5892 GB, free: 6.051 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.5362, allocations: 332.6 kB / 0.5895 GB, free: 5.727 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.5363, allocations: 4 kB / 0.5895 GB, free: 5.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002164/0.5384, allocations: 0.9644 MB / 0.5905 GB, free: 4.746 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008354/0.5393, allocations: 2.005 MB / 0.5924 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5393, allocations: 4 kB / 0.5924 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/0.5421, allocations: 0.5315 MB / 0.5929 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005959/0.5427, allocations: 143.8 kB / 0.5931 GB, free: 1.902 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.544, allocations: 0.9133 MB / 0.594 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.5449, allocations: 119.9 kB / 0.5941 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.545, allocations: 43.97 kB / 0.5941 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.545, allocations: 7.938 kB / 0.5941 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002158/0.5471, allocations: 0.8929 MB / 0.595 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5472, allocations: 8 kB / 0.595 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/0.5481, allocations: 221.1 kB / 0.5952 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.5487, allocations: 160.5 kB / 0.5954 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.55, allocations: 0.7942 MB / 0.5961 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007379/0.5507, allocations: 119.4 kB / 0.5963 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.5508, allocations: 31.98 kB / 0.5963 GB, free: 14.55 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 (59): * Single equations (assignments): 58 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.000446/0.5512, allocations: 292.9 kB / 0.5966 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.5514, allocations: 63.25 kB / 0.5966 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004201/0.5556, allocations: 3.16 MB / 0.5997 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.092e-05/0.5556, allocations: 39.94 kB / 0.5998 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.5557, allocations: 0 / 0.5998 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5557, allocations: 3.984 kB / 0.5998 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.5574, allocations: 1.517 MB / 0.6012 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5574, allocations: 0 / 0.6012 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.5578, allocations: 95.86 kB / 0.6013 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003005/0.5608, allocations: 1.214 MB / 0.6025 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.5609, allocations: 15.98 kB / 0.6025 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.5627, allocations: 1.559 MB / 0.6041 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.5627, allocations: 3.953 kB / 0.6041 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/0.566, allocations: 2.176 MB / 0.6062 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005551/0.5666, allocations: 338.6 kB / 0.6065 GB, free: 3.977 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001637/0.5668, allocations: 12 kB / 0.6065 GB, free: 3.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.5674, allocations: 83.8 kB / 0.6066 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.5675, allocations: 56.48 kB / 0.6067 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.5676, allocations: 23.98 kB / 0.6067 GB, free: 3.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006485/0.5682, allocations: 475 kB / 0.6071 GB, free: 3.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5683, allocations: 0 / 0.6071 GB, free: 3.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004349/0.5726, allocations: 1.385 MB / 0.6085 GB, free: 1.953 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.008583/0.5812, allocations: 3.788 MB / 0.6122 GB, free: 14.26 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003709/0.5849, allocations: 1.507 MB / 0.6137 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.585, allocations: 0 / 0.6137 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.5863, allocations: 0.8439 MB / 0.6145 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.5882, allocations: 331.7 kB / 0.6148 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007591/0.5958, allocations: 7.236 MB / 0.6219 GB, free: 4.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.5966, allocations: 1.17 MB / 0.623 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.5978, allocations: 0.7786 MB / 0.6238 GB, free: 2.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004825/0.5983, allocations: 419.3 kB / 0.6242 GB, free: 1.832 MB / 462.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5983, allocations: 0 / 0.6242 GB, free: 1.832 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09814/0.6965, allocations: 60.48 MB / 0.6832 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.6967, allocations: 272.9 kB / 0.6835 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.861/5.557, allocations: 0 / 0.6835 GB, free: 5.266 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat