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.0008562/0.0008562, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001038/0.001038, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7716/0.7716, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003465, allocations: 16.16 kB / 0.5035 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.4463, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.02931/0.4757, allocations: 28.14 MB / 0.6106 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.4894, allocations: 9.585 MB / 0.62 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.4909, allocations: 35.97 kB / 0.62 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.4926, allocations: 472.6 kB / 0.6205 GB, free: 7.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.4963, allocations: 1.216 MB / 0.6217 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.4993, allocations: 1.014 MB / 0.6226 GB, free: 5.719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004457/0.5037, allocations: 3.327 MB / 0.6259 GB, free: 3.746 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.505, allocations: 0.7191 MB / 0.6266 GB, free: 3.301 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002281/0.5073, allocations: 0.9533 MB / 0.6275 GB, free: 2.785 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.5088, allocations: 0.7724 MB / 0.6283 GB, free: 2.223 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.509, allocations: 40 kB / 0.6283 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.5107, allocations: 0.5344 MB / 0.6288 GB, free: 1.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003511/0.511, allocations: 275 kB / 0.6291 GB, free: 1.379 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.5114, allocations: 257.1 kB / 0.6294 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.5131, allocations: 1.422 MB / 0.6307 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5132, allocations: 0 / 0.6307 GB, free: 15.7 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5132, allocations: 0 / 0.6307 GB, free: 15.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.5132, allocations: 0 / 0.6307 GB, free: 15.7 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.00249/0.5157, allocations: 1.352 MB / 0.6321 GB, free: 14.29 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.5157, allocations: 8.031 kB / 0.6321 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001604/0.5159, allocations: 106.5 kB / 0.6322 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009328/0.5169, allocations: 210.4 kB / 0.6324 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.5187, allocations: 1.007 MB / 0.6334 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.5187, allocations: 53.5 kB / 0.6334 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.5189, allocations: 68 kB / 0.6335 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5202, allocations: 0.7441 MB / 0.6342 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.5202, allocations: 0 / 0.6342 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.5203, allocations: 28 kB / 0.6342 GB, free: 12 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.5203, allocations: 29.3 kB / 0.6343 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.5216, allocations: 0.5907 MB / 0.6348 GB, free: 11.37 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.003968/0.5255, allocations: 3.229 MB / 0.638 GB, free: 7.953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.5267, allocations: 487.5 kB / 0.6384 GB, free: 7.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004461/0.5271, allocations: 222 kB / 0.6387 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001815/0.5289, allocations: 1.585 MB / 0.6402 GB, free: 5.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005793/0.5295, allocations: 267 kB / 0.6405 GB, free: 5.219 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001981/0.5297, allocations: 59.52 kB / 0.6405 GB, free: 5.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 1.853e-06/0.5298, allocations: 0 / 0.6405 GB, free: 5.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.00145/0.5312, allocations: 0.6459 MB / 0.6411 GB, free: 4.508 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.5313, allocations: 59.16 kB / 0.6412 GB, free: 4.438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5324, allocations: 0.9295 MB / 0.6421 GB, free: 3.488 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.737e-05/0.5325, allocations: 41.64 kB / 0.6422 GB, free: 3.441 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.5329, allocations: 0.4997 MB / 0.6426 GB, free: 2.938 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.533, allocations: 134.1 kB / 0.6428 GB, free: 2.805 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.5331, allocations: 12 kB / 0.6428 GB, free: 2.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.5332, allocations: 330 kB / 0.6431 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.5337, allocations: 201.2 kB / 0.6433 GB, free: 2.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.5343, allocations: 433.3 kB / 0.6437 GB, free: 1.754 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.5348, allocations: 257.7 kB / 0.6439 GB, free: 1.504 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.5349, allocations: 0 / 0.6439 GB, free: 1.504 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001359/0.5362, allocations: 0.724 MB / 0.6447 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.5364, allocations: 275.4 kB / 0.6449 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5364, allocations: 8 kB / 0.6449 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.5365, allocations: 8 kB / 0.6449 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.537, allocations: 147.8 kB / 0.6451 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.5371, allocations: 19.92 kB / 0.6451 GB, free: 244 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.5378, allocations: 64.55 kB / 0.6452 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-05/0.5379, allocations: 39.98 kB / 0.6452 GB, free: 140 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.5379, allocations: 4 kB / 0.6452 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009471/0.5388, allocations: 0.5498 MB / 0.6457 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.5388, allocations: 8 kB / 0.6457 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.5389, allocations: 12 kB / 0.6457 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004604/0.5393, allocations: 136.4 kB / 0.6459 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.5394, allocations: 15.92 kB / 0.6459 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/0.5399, allocations: 48.62 kB / 0.6459 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.915e-05/0.5399, allocations: 39.92 kB / 0.646 GB, free: 15.32 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.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004406/0.5404, allocations: 378.4 kB / 0.6463 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5405, allocations: 94.78 kB / 0.6464 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.5419, allocations: 0.6472 MB / 0.6471 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.5419, allocations: 8 kB / 0.6471 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5419, allocations: 4 kB / 0.6471 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.543, allocations: 0.7132 MB / 0.6478 GB, free: 13.4 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.002495/0.5455, allocations: 1.573 MB / 0.6493 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.5455, allocations: 3.984 kB / 0.6493 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004266/0.5459, allocations: 91.81 kB / 0.6494 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.546, allocations: 4 kB / 0.6494 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.546, allocations: 19.94 kB / 0.6494 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.546, allocations: 4 kB / 0.6494 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.546, allocations: 0 / 0.6494 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.5477, allocations: 0.9522 MB / 0.6504 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.548, allocations: 239.8 kB / 0.6506 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.5481, allocations: 8 kB / 0.6506 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.5486, allocations: 59.81 kB / 0.6506 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.733e-05/0.5487, allocations: 31.95 kB / 0.6507 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.5488, allocations: 15.98 kB / 0.6507 GB, free: 10.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008738/0.5497, allocations: 0.6467 MB / 0.6513 GB, free: 9.621 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5497, allocations: 0 / 0.6513 GB, free: 9.621 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001506/0.5512, allocations: 0.5302 MB / 0.6518 GB, free: 9.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002564/0.5538, allocations: 1.743 MB / 0.6535 GB, free: 7.316 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.5554, allocations: 0.8162 MB / 0.6543 GB, free: 6.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5554, allocations: 0.6875 kB / 0.6543 GB, free: 6.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.5559, allocations: 247.8 kB / 0.6546 GB, free: 6.262 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.5579, allocations: 492.2 kB / 0.655 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.5684, allocations: 5.931 MB / 0.6608 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006645/0.5691, allocations: 1.08 MB / 0.6619 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009896/0.5701, allocations: 252.2 kB / 0.6621 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/0.5706, allocations: 395.3 kB / 0.6625 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.5706, allocations: 0 / 0.6625 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04661/0.6172, allocations: 28.97 MB / 0.6908 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.6174, allocations: 209.2 kB / 0.691 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.023, allocations: 0 / 0.691 GB, free: 1.055 MB / 0.5137 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/linux/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) Environment - environmentSimulation: