Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample",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.0008874/0.0008874, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005628/0.005628, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.338/1.338, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7093/0.7093, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3966, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.0311/0.4277, allocations: 29.75 MB / 0.6128 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.4434, allocations: 10.18 MB / 0.6227 GB, free: 5.871 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.4454, allocations: 39.78 kB / 0.6228 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.4474, allocations: 0.6012 MB / 0.6234 GB, free: 5.395 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004012/0.4514, allocations: 1.378 MB / 0.6247 GB, free: 4.312 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003196/0.4546, allocations: 1.19 MB / 0.6259 GB, free: 3.473 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005558/0.4602, allocations: 3.93 MB / 0.6297 GB, free: 1.277 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.4616, allocations: 0.7959 MB / 0.6305 GB, free: 484 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.4638, allocations: 0.9841 MB / 0.6314 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.4648, allocations: 0.7854 MB / 0.6322 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.4649, allocations: 40 kB / 0.6322 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.4667, allocations: 0.7448 MB / 0.633 GB, free: 13.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.4671, allocations: 282.9 kB / 0.6332 GB, free: 13.63 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006115/0.4677, allocations: 0.5573 MB / 0.6338 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002213/0.4699, allocations: 1.873 MB / 0.6356 GB, free: 11.19 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4699, allocations: 0 / 0.6356 GB, free: 11.19 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4699, allocations: 0 / 0.6356 GB, free: 11.19 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.47, allocations: 0 / 0.6356 GB, free: 11.19 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002289/0.4723, allocations: 1.336 MB / 0.6369 GB, free: 9.801 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4723, allocations: 12.03 kB / 0.6369 GB, free: 9.789 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.4724, allocations: 106.7 kB / 0.637 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009823/0.4734, allocations: 215.3 kB / 0.6372 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.4753, allocations: 1.05 MB / 0.6383 GB, free: 8.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.4754, allocations: 53.31 kB / 0.6383 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4755, allocations: 71.98 kB / 0.6384 GB, free: 8.246 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.4768, allocations: 0.7323 MB / 0.6391 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.4769, allocations: 4 kB / 0.6391 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.4769, allocations: 28 kB / 0.6391 GB, free: 7.457 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.477, allocations: 25.31 kB / 0.6392 GB, free: 7.434 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.4781, allocations: 0.5477 MB / 0.6397 GB, free: 6.883 MB / 478.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.004111/0.4822, allocations: 3.155 MB / 0.6428 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.4834, allocations: 471.7 kB / 0.6432 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004155/0.4838, allocations: 210.1 kB / 0.6434 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/0.4857, allocations: 1.549 MB / 0.6449 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005252/0.4862, allocations: 251 kB / 0.6452 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002412/0.4865, allocations: 59.5 kB / 0.6452 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.023e-06/0.4865, allocations: 0 / 0.6452 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.00132/0.4878, allocations: 0.5999 MB / 0.6458 GB, free: 220 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.4879, allocations: 63.16 kB / 0.6459 GB, free: 144 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.489, allocations: 0.9256 MB / 0.6468 GB, free: 15.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.489, allocations: 33.7 kB / 0.6468 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.4894, allocations: 0.4958 MB / 0.6473 GB, free: 14.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4896, allocations: 126.2 kB / 0.6474 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.4896, allocations: 61.67 kB / 0.6475 GB, free: 14.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4898, allocations: 326 kB / 0.6478 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.4902, allocations: 205.2 kB / 0.648 GB, free: 13.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/0.4908, allocations: 416.5 kB / 0.6484 GB, free: 13.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/0.4918, allocations: 0.6111 MB / 0.649 GB, free: 12.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4918, allocations: 0 / 0.649 GB, free: 12.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001329/0.4931, allocations: 0.7258 MB / 0.6497 GB, free: 12.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.4933, allocations: 263.8 kB / 0.6499 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.4933, allocations: 4.078 kB / 0.6499 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.4933, allocations: 8 kB / 0.6499 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.4939, allocations: 155.7 kB / 0.6501 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.4939, allocations: 11.98 kB / 0.6501 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.4946, allocations: 64.55 kB / 0.6502 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.4947, allocations: 35.97 kB / 0.6502 GB, free: 11.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.4947, allocations: 4 kB / 0.6502 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009795/0.4957, allocations: 0.5501 MB / 0.6507 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4957, allocations: 8 kB / 0.6507 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.4957, allocations: 12.06 kB / 0.6508 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.4962, allocations: 139.8 kB / 0.6509 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4963, allocations: 11.94 kB / 0.6509 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.4968, allocations: 56.53 kB / 0.651 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.4969, allocations: 31.98 kB / 0.651 GB, free: 10.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004898/0.4974, allocations: 374.3 kB / 0.6513 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.4975, allocations: 102.7 kB / 0.6514 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.4988, allocations: 0.6205 MB / 0.6521 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.4988, allocations: 11.94 kB / 0.6521 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4988, allocations: 4 kB / 0.6521 GB, free: 9.461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009212/0.4997, allocations: 0.6703 MB / 0.6527 GB, free: 8.727 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.002225/0.502, allocations: 1.522 MB / 0.6542 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.502, allocations: 0 / 0.6542 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.5024, allocations: 83.89 kB / 0.6543 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.5024, allocations: 4 kB / 0.6543 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.5025, allocations: 20.11 kB / 0.6543 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.5025, allocations: 4 kB / 0.6543 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5025, allocations: 0 / 0.6543 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.504, allocations: 0.8899 MB / 0.6552 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.5043, allocations: 235.7 kB / 0.6554 GB, free: 5.844 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.5044, allocations: 12 kB / 0.6554 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/0.5049, allocations: 39.97 kB / 0.6555 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.505, allocations: 39.89 kB / 0.6555 GB, free: 5.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.5051, allocations: 19.98 kB / 0.6555 GB, free: 5.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008578/0.5059, allocations: 0.6389 MB / 0.6561 GB, free: 5.086 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.506, allocations: 0 / 0.6561 GB, free: 5.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00152/0.5075, allocations: 0.5146 MB / 0.6566 GB, free: 4.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002629/0.5101, allocations: 1.702 MB / 0.6583 GB, free: 2.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.5118, allocations: 0.7842 MB / 0.6591 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5118, allocations: 0.625 kB / 0.6591 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.5123, allocations: 247.6 kB / 0.6593 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.5148, allocations: 480.9 kB / 0.6598 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/0.5279, allocations: 7.737 MB / 0.6673 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007159/0.5286, allocations: 1.076 MB / 0.6684 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001081/0.5297, allocations: 255.5 kB / 0.6686 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005839/0.5303, allocations: 407.2 kB / 0.669 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.5304, allocations: 0 / 0.669 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4176/0.9479, allocations: 26.93 MB / 0.6953 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/0.9483, allocations: 216.9 kB / 0.6955 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.348, allocations: 4 kB / 0.6955 GB, free: 12.68 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)