Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Movers_Examples_PumpExample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpExample,fileNamePrefix="IDEAS_dev_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.0007992/0.0007994, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008792/0.0008791, allocations: 168.7 kB / 15.95 MB, free: 204 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.394/1.394, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9927/0.9927, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003745, allocations: 16 kB / 0.5071 GB, free: 5.039 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 82.31 MB / 0.5875 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.3746/0.5569, allocations: 28.11 MB / 0.6149 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01366/0.5707, allocations: 9.578 MB / 0.6243 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.5728, allocations: 35.22 kB / 0.6243 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.575, allocations: 482 kB / 0.6248 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004877/0.5799, allocations: 1.21 MB / 0.6259 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004356/0.5843, allocations: 1.014 MB / 0.6269 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005602/0.5899, allocations: 3.329 MB / 0.6302 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.5918, allocations: 0.7339 MB / 0.6309 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.5943, allocations: 0.9491 MB / 0.6318 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.5964, allocations: 0.764 MB / 0.6326 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000413/0.5968, allocations: 41.53 kB / 0.6326 GB, free: 29.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.5991, allocations: 0.5308 MB / 0.6331 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005213/0.5996, allocations: 279.2 kB / 0.6334 GB, free: 29.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005739/0.6002, allocations: 251.3 kB / 0.6336 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.6023, allocations: 1.427 MB / 0.635 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6023, allocations: 0 / 0.635 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6024, allocations: 4 kB / 0.635 GB, free: 28.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.386e-05/0.6025, allocations: 0 / 0.635 GB, free: 28.82 MB / 0.4981 GB 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.002703/0.6052, allocations: 1.344 MB / 0.6364 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.6052, allocations: 8.938 kB / 0.6364 GB, free: 27.91 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002255/0.6054, allocations: 105.8 kB / 0.6365 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.6065, allocations: 223.1 kB / 0.6367 GB, free: 27.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.6085, allocations: 0.992 MB / 0.6376 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.651e-05/0.6086, allocations: 59.92 kB / 0.6377 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.6088, allocations: 65.38 kB / 0.6378 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.6104, allocations: 0.7576 MB / 0.6385 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.6104, allocations: 4 kB / 0.6385 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.6105, allocations: 25.47 kB / 0.6385 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.6105, allocations: 25.75 kB / 0.6386 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.6118, allocations: 0.5832 MB / 0.6391 GB, free: 26.55 MB / 0.4981 GB 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.005293/0.6171, allocations: 3.23 MB / 0.6423 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.6182, allocations: 487.1 kB / 0.6427 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.6187, allocations: 217.4 kB / 0.643 GB, free: 24.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002175/0.6209, allocations: 1.584 MB / 0.6445 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005966/0.6215, allocations: 276.3 kB / 0.6448 GB, free: 22.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004781/0.622, allocations: 63.91 kB / 0.6448 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 4.328e-06/0.622, allocations: 0 / 0.6448 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.001739/0.6238, allocations: 0.6387 MB / 0.6454 GB, free: 22.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.6239, allocations: 58.12 kB / 0.6455 GB, free: 22.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.6255, allocations: 0.9344 MB / 0.6464 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.471e-05/0.6256, allocations: 32.73 kB / 0.6464 GB, free: 21.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005229/0.6261, allocations: 0.4936 MB / 0.6469 GB, free: 21.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.6263, allocations: 131.9 kB / 0.6471 GB, free: 21.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.6263, allocations: 14.47 kB / 0.6471 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.6264, allocations: 329.5 kB / 0.6474 GB, free: 21.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.6269, allocations: 208.6 kB / 0.6476 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.6275, allocations: 430.6 kB / 0.648 GB, free: 20.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005975/0.6281, allocations: 262.2 kB / 0.6482 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.6282, allocations: 2.969 kB / 0.6482 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001674/0.6298, allocations: 0.7234 MB / 0.649 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.6302, allocations: 267.5 kB / 0.6492 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.752e-05/0.6302, allocations: 6.25 kB / 0.6492 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-05/0.6302, allocations: 13.94 kB / 0.6492 GB, free: 19.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000667/0.6309, allocations: 154.5 kB / 0.6494 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.853e-05/0.631, allocations: 18.59 kB / 0.6494 GB, free: 19.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.6321, allocations: 63.39 kB / 0.6495 GB, free: 19.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.6322, allocations: 30.81 kB / 0.6495 GB, free: 19.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.6322, allocations: 5.406 kB / 0.6495 GB, free: 19.87 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/0.6335, allocations: 0.5517 MB / 0.65 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.6335, allocations: 5.656 kB / 0.65 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.6336, allocations: 10.28 kB / 0.65 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.6341, allocations: 140.6 kB / 0.6502 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.6341, allocations: 12.02 kB / 0.6502 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007798/0.6349, allocations: 67.52 kB / 0.6502 GB, free: 19.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/0.635, allocations: 31.72 kB / 0.6503 GB, free: 19.61 MB / 0.4981 GB 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.0006742/0.6357, allocations: 373.7 kB / 0.6506 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002603/0.636, allocations: 100.1 kB / 0.6507 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.6377, allocations: 0.6581 MB / 0.6514 GB, free: 19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.6378, allocations: 3.75 kB / 0.6514 GB, free: 19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6378, allocations: 1.406 kB / 0.6514 GB, free: 19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/0.639, allocations: 0.706 MB / 0.6521 GB, free: 18.52 MB / 0.4981 GB 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.004407/0.6434, allocations: 1.574 MB / 0.6536 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6435, allocations: 1.312 kB / 0.6536 GB, free: 17.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.644, allocations: 95.16 kB / 0.6537 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/0.6441, allocations: 3.359 kB / 0.6537 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.326e-05/0.6441, allocations: 14.05 kB / 0.6537 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/0.6442, allocations: 2.906 kB / 0.6537 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6442, allocations: 1.344 kB / 0.6537 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/0.6466, allocations: 0.9526 MB / 0.6546 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.6472, allocations: 238.5 kB / 0.6549 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.6475, allocations: 12.69 kB / 0.6549 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007466/0.6482, allocations: 66.23 kB / 0.655 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.6483, allocations: 35.42 kB / 0.655 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.6484, allocations: 20.14 kB / 0.655 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001426/0.6498, allocations: 0.6385 MB / 0.6556 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6499, allocations: 5.656 kB / 0.6556 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002581/0.6524, allocations: 0.522 MB / 0.6561 GB, free: 16.55 MB / 0.4981 GB 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.003506/0.656, allocations: 1.73 MB / 0.6578 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002094/0.6581, allocations: 0.8196 MB / 0.6586 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.6581, allocations: 0 / 0.6586 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/0.6587, allocations: 255.1 kB / 0.6589 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/0.6616, allocations: 490 kB / 0.6593 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.6755, allocations: 5.933 MB / 0.6651 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009484/0.6765, allocations: 1.08 MB / 0.6662 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001436/0.6779, allocations: 240.9 kB / 0.6664 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006803/0.6786, allocations: 404.9 kB / 0.6668 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/0.6787, allocations: 4 kB / 0.6668 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/0.7447, allocations: 29 MB / 0.6951 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/0.7449, allocations: 210.6 kB / 0.6953 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.247, allocations: 0 / 0.6953 GB, free: 13.27 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpExample.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1) Environment - environmentSimulation: