Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009508/0.0009508, allocations: 96.91 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.001084/0.001084, allocations: 207.1 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.346/1.346, 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.2161/0.2161, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.000307, allocations: 12 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 63.47 MB / 481.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.03601/0.1754, allocations: 35.5 MB / 0.5049 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2709/0.4463, allocations: 17.37 MB / 0.5219 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.4475, allocations: 31.69 kB / 0.5219 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.4489, allocations: 427.8 kB / 0.5223 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01428/0.4632, allocations: 4.101 MB / 0.5263 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01099/0.4742, allocations: 2.954 MB / 0.5292 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.4767, allocations: 1.017 MB / 0.5302 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006718/0.4774, allocations: 375.6 kB / 0.5306 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.4788, allocations: 0.6526 MB / 0.5312 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.4899, allocations: 6.067 MB / 0.5371 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000319/0.4903, allocations: 33.5 kB / 0.5371 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01731/0.5076, allocations: 7.568 MB / 0.5445 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.508, allocations: 149.6 kB / 0.5447 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005531/0.5085, allocations: 177.3 kB / 0.5449 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009406/0.518, allocations: 3.562 MB / 0.5483 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.518, allocations: 0 / 0.5483 GB, free: 3.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.518, allocations: 0 / 0.5483 GB, free: 3.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.328e-05/0.518, allocations: 0 / 0.5483 GB, free: 3.828 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.004282/0.5223, allocations: 1.551 MB / 0.5498 GB, free: 2.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.5224, allocations: 8.562 kB / 0.5499 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.5225, allocations: 102 kB / 0.5499 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.5246, allocations: 312.3 kB / 0.5502 GB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008074/0.5254, allocations: 0.5155 MB / 0.5508 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.151e-05/0.5255, allocations: 53.27 kB / 0.5508 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/0.5256, allocations: 63.98 kB / 0.5509 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.5277, allocations: 0.9749 MB / 0.5518 GB, free: 144 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.5277, allocations: 11.94 kB / 0.5518 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/0.5278, allocations: 20 kB / 0.5518 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.5278, allocations: 21.31 kB / 0.5519 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.5303, allocations: 0.9185 MB / 0.5528 GB, free: 15.17 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.005642/0.536, allocations: 4.483 MB / 0.5571 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.5384, allocations: 0.7811 MB / 0.5579 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1186/0.657, allocations: 62.59 MB / 0.619 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.6571, allocations: 35 kB / 0.6191 GB, free: 3.027 MB / 462.1 MB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.6571, allocations: 4 kB / 0.6191 GB, free: 3.023 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.006962/0.6641, allocations: 2.362 MB / 0.6214 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.6641, allocations: 107.2 kB / 0.6215 GB, free: 468 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.6648, allocations: 0.534 MB / 0.622 GB, free: 15.91 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.6649, allocations: 37.7 kB / 0.622 GB, free: 15.87 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.6651, allocations: 320.3 kB / 0.6223 GB, free: 15.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.6652, allocations: 180.1 kB / 0.6225 GB, free: 15.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.6653, allocations: 8 kB / 0.6225 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6654, allocations: 374.8 kB / 0.6229 GB, free: 15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.6661, allocations: 265.1 kB / 0.6231 GB, free: 14.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007142/0.6668, allocations: 434.6 kB / 0.6235 GB, free: 14.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.6675, allocations: 310 kB / 0.6238 GB, free: 13.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6675, allocations: 0 / 0.6238 GB, free: 13.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002267/0.6697, allocations: 0.9676 MB / 0.6248 GB, free: 12.97 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001081/0.6708, allocations: 1.827 MB / 0.6266 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.6709, allocations: 7.938 kB / 0.6266 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.6733, allocations: 486.8 kB / 0.627 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000485/0.6738, allocations: 139.8 kB / 0.6272 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.6752, allocations: 0.9385 MB / 0.6281 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.6759, allocations: 84.34 kB / 0.6282 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.676, allocations: 35.98 kB / 0.6282 GB, free: 9.293 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.676, allocations: 4 kB / 0.6282 GB, free: 9.289 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002189/0.6782, allocations: 0.8884 MB / 0.6291 GB, free: 8.402 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6783, allocations: 8 kB / 0.6291 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.6795, allocations: 317 kB / 0.6294 GB, free: 8.082 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.68, allocations: 147.8 kB / 0.6295 GB, free: 7.938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.6812, allocations: 0.8956 MB / 0.6304 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/0.682, allocations: 75.98 kB / 0.6305 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.682, allocations: 39.98 kB / 0.6305 GB, free: 6.902 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006511/0.6827, allocations: 284.9 kB / 0.6308 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.6828, allocations: 71.16 kB / 0.6308 GB, free: 6.543 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.6868, allocations: 2.751 MB / 0.6335 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/0.6869, allocations: 43.88 kB / 0.6336 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.6869, allocations: 0 / 0.6336 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.6869, allocations: 0 / 0.6336 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005158/0.692, allocations: 3.844 MB / 0.6373 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.6921, allocations: 0 / 0.6373 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005716/0.6927, allocations: 151.8 kB / 0.6375 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.6931, allocations: 109.5 kB / 0.6376 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.6932, allocations: 19.92 kB / 0.6376 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008296/0.694, allocations: 1.128 MB / 0.6387 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.694, allocations: 0 / 0.6387 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003914/0.6979, allocations: 2.309 MB / 0.641 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000596/0.6986, allocations: 374.6 kB / 0.6413 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.6987, allocations: 12 kB / 0.6413 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/0.6992, allocations: 71.94 kB / 0.6414 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6993, allocations: 56.47 kB / 0.6414 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.6994, allocations: 20 kB / 0.6415 GB, free: 11.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007312/0.7001, allocations: 0.5693 MB / 0.642 GB, free: 10.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7001, allocations: 0 / 0.642 GB, free: 10.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00403/0.7042, allocations: 1.351 MB / 0.6433 GB, free: 9.609 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009213/0.7134, allocations: 4.15 MB / 0.6474 GB, free: 5.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003347/0.7168, allocations: 1.428 MB / 0.6488 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.7168, allocations: 0 / 0.6488 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.7182, allocations: 0.7505 MB / 0.6495 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.7203, allocations: 349.1 kB / 0.6499 GB, free: 3.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.7317, allocations: 6.935 MB / 0.6566 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009929/0.7328, allocations: 1.15 MB / 0.6577 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00131/0.7342, allocations: 0.6554 MB / 0.6584 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000547/0.7347, allocations: 459.3 kB / 0.6588 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.7347, allocations: 0 / 0.6588 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3329/1.068, allocations: 60.62 MB / 0.718 GB, free: 206.3 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.068, allocations: 268.8 kB / 0.7183 GB, free: 206 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.571/5.639, allocations: 3.5 kB / 0.7183 GB, free: 206 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat