Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 98.59 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.0009641/0.0009642, allocations: 206.2 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.323/1.323, allocations: 227.3 MB / 245.9 MB, free: 12.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1977/0.1977, allocations: 45.91 MB / 344 MB, free: 12.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002898, allocations: 4 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 63.47 MB / 481.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH): time 0.03372/0.1522, allocations: 35.55 MB / 0.505 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2788/0.431, allocations: 17.86 MB / 0.5224 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.4323, allocations: 30.03 kB / 0.5224 GB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.4338, allocations: 430.3 kB / 0.5228 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01739/0.4512, allocations: 4.177 MB / 0.5269 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.4613, allocations: 2.947 MB / 0.5298 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002612/0.4639, allocations: 1.024 MB / 0.5308 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.4646, allocations: 383.6 kB / 0.5312 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.4661, allocations: 0.6487 MB / 0.5318 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009684/0.4758, allocations: 5.844 MB / 0.5375 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.476, allocations: 31.97 kB / 0.5375 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01681/0.4929, allocations: 7.626 MB / 0.545 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003064/0.4932, allocations: 152.9 kB / 0.5451 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.4937, allocations: 173.3 kB / 0.5453 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008358/0.502, allocations: 3.607 MB / 0.5488 GB, free: 3.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5021, allocations: 0 / 0.5488 GB, free: 3.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5021, allocations: 0 / 0.5488 GB, free: 3.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.5021, allocations: 0 / 0.5488 GB, free: 3.57 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.004149/0.5062, allocations: 1.571 MB / 0.5503 GB, free: 1.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5063, allocations: 8.562 kB / 0.5504 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001275/0.5064, allocations: 98.52 kB / 0.5505 GB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.5088, allocations: 336.3 kB / 0.5508 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.5096, allocations: 0.5183 MB / 0.5513 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.114e-05/0.5097, allocations: 57.27 kB / 0.5513 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.5097, allocations: 56 kB / 0.5514 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/0.512, allocations: 1.002 MB / 0.5524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.512, allocations: 3.938 kB / 0.5524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.5121, allocations: 28 kB / 0.5524 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.5122, allocations: 21.31 kB / 0.5524 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/0.5147, allocations: 0.9299 MB / 0.5533 GB, free: 14.83 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.005683/0.5204, allocations: 4.947 MB / 0.5582 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.5229, allocations: 0.8604 MB / 0.559 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05289/0.5758, allocations: 27.11 MB / 0.5855 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.5759, allocations: 46.86 kB / 0.5855 GB, free: 10.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=46): time 2.605e-06/0.5759, allocations: 4 kB / 0.5855 GB, free: 10.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.006806/0.5827, allocations: 1.836 MB / 0.5873 GB, free: 8.184 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.836e-05/0.5828, allocations: 110.8 kB / 0.5874 GB, free: 8.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008804/0.5837, allocations: 0.5145 MB / 0.5879 GB, free: 7.527 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.5838, allocations: 33.7 kB / 0.588 GB, free: 7.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.5841, allocations: 330.5 kB / 0.5883 GB, free: 7.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.5843, allocations: 168.3 kB / 0.5884 GB, free: 7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.5844, allocations: 12 kB / 0.5884 GB, free: 6.988 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.5846, allocations: 362.8 kB / 0.5888 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.5853, allocations: 277.1 kB / 0.5891 GB, free: 6.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.5861, allocations: 468.1 kB / 0.5895 GB, free: 5.824 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.5869, allocations: 312.6 kB / 0.5898 GB, free: 5.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.5869, allocations: 0 / 0.5898 GB, free: 5.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002255/0.5892, allocations: 0.9101 MB / 0.5907 GB, free: 4.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009708/0.5902, allocations: 2.001 MB / 0.5926 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.5902, allocations: 8 kB / 0.5926 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.5922, allocations: 360.4 kB / 0.593 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.5927, allocations: 135.8 kB / 0.5931 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.594, allocations: 0.8404 MB / 0.5939 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/0.5949, allocations: 119.3 kB / 0.5941 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.595, allocations: 39.94 kB / 0.5941 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.595, allocations: 4 kB / 0.5941 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002099/0.5971, allocations: 0.8427 MB / 0.5949 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.5971, allocations: 12.06 kB / 0.5949 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.5982, allocations: 220.8 kB / 0.5951 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.5987, allocations: 147.8 kB / 0.5953 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.5998, allocations: 0.7904 MB / 0.5961 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/0.6005, allocations: 110.3 kB / 0.5962 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.6006, allocations: 27.98 kB / 0.5962 GB, free: 14.75 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 (58): * Single equations (assignments): 57 * 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.0005071/0.6011, allocations: 292.8 kB / 0.5965 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.6013, allocations: 63.25 kB / 0.5965 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.6061, allocations: 3.182 MB / 0.5996 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/0.6062, allocations: 39.94 kB / 0.5997 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.6062, allocations: 3.984 kB / 0.5997 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.6062, allocations: 0 / 0.5997 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.608, allocations: 1.513 MB / 0.6012 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.6081, allocations: 4 kB / 0.6012 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.6085, allocations: 99.86 kB / 0.6013 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002363/0.6108, allocations: 1.08 MB / 0.6023 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.6109, allocations: 12 kB / 0.6023 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.6128, allocations: 1.493 MB / 0.6038 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6128, allocations: 0 / 0.6038 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.616, allocations: 2.141 MB / 0.6059 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006175/0.6166, allocations: 338.7 kB / 0.6062 GB, free: 4.391 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.6168, allocations: 12 kB / 0.6062 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.6174, allocations: 79.84 kB / 0.6063 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.6175, allocations: 56.42 kB / 0.6063 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/0.6176, allocations: 35.92 kB / 0.6064 GB, free: 4.211 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006624/0.6183, allocations: 463 kB / 0.6068 GB, free: 3.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6183, allocations: 0 / 0.6068 GB, free: 3.758 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004078/0.6224, allocations: 1.381 MB / 0.6082 GB, free: 2.375 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,$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 (45): * Single equations (assignments): 35 * 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.008443/0.6308, allocations: 3.757 MB / 0.6118 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003101/0.634, allocations: 1.452 MB / 0.6132 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.634, allocations: 0 / 0.6132 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.6352, allocations: 0.8394 MB / 0.6141 GB, free: 12.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.6369, allocations: 319.9 kB / 0.6144 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0092/0.6461, allocations: 7.23 MB / 0.6214 GB, free: 4.742 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/0.6472, allocations: 1.17 MB / 0.6226 GB, free: 3.543 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001433/0.6486, allocations: 0.7787 MB / 0.6233 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/0.6491, allocations: 423.2 kB / 0.6237 GB, free: 2.355 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/0.6491, allocations: 0 / 0.6237 GB, free: 2.355 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09945/0.7486, allocations: 59.92 MB / 0.6823 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.7489, allocations: 272.5 kB / 0.6825 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.123/5.872, allocations: 4 kB / 0.6825 GB, free: 6.316 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat