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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.009971/0.009971, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8195/0.8195, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 223.1 MB / 406.8 MB, free: 3.152 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 95.3 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003898, allocations: 12 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4992, allocations: 82.29 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9581/1.457, allocations: 360.5 MB / 1.002 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/1.458, allocations: 90.08 kB / 1.002 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.065/2.523, allocations: 299 MB / 1.294 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.47e-06/2.523, allocations: 0 / 1.294 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001556/2.523, allocations: 39.88 kB / 1.294 GB, free: 27.32 MB / 0.6823 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.004529/2.528, allocations: 1.578 MB / 1.295 GB, free: 25.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.721e-05/2.528, allocations: 8.031 kB / 1.295 GB, free: 25.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002568/2.528, allocations: 110.5 kB / 1.295 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/2.529, allocations: 198.4 kB / 1.296 GB, free: 25.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/2.545, allocations: 6.545 MB / 1.302 GB, free: 18.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/2.545, allocations: 49.31 kB / 1.302 GB, free: 18.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/2.545, allocations: 75.91 kB / 1.302 GB, free: 18.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/2.546, allocations: 0.7176 MB / 1.303 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/2.546, allocations: 4 kB / 1.303 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.988e-05/2.546, allocations: 24 kB / 1.303 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/2.546, allocations: 37.28 kB / 1.303 GB, free: 17.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/2.548, allocations: 0.5321 MB / 1.303 GB, free: 17.27 MB / 0.6823 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.004881/2.552, allocations: 2.924 MB / 1.306 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/2.554, allocations: 488.1 kB / 1.307 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002174/2.556, allocations: 1.567 MB / 1.308 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005024/2.556, allocations: 260.3 kB / 1.309 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003669/2.557, allocations: 59.45 kB / 1.309 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=41): time 4.067e-06/2.557, allocations: 3.984 kB / 1.309 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.001357/2.558, allocations: 0.6168 MB / 1.309 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/2.558, allocations: 59.34 kB / 1.309 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/2.559, allocations: 0.8266 MB / 1.31 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/2.559, allocations: 37.7 kB / 1.31 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/2.56, allocations: 0.4997 MB / 1.311 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/2.56, allocations: 145.9 kB / 1.311 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/2.56, allocations: 8 kB / 1.311 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/2.56, allocations: 333.9 kB / 1.311 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/2.56, allocations: 185.2 kB / 1.311 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/2.561, allocations: 428.8 kB / 1.312 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/2.561, allocations: 251.1 kB / 1.312 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/2.561, allocations: 4 kB / 1.312 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001112/2.562, allocations: 0.6903 MB / 1.313 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004134/2.563, allocations: 2.36 MB / 1.315 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/2.563, allocations: 8 kB / 1.315 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/2.563, allocations: 8 kB / 1.315 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/2.563, allocations: 147.8 kB / 1.315 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/2.563, allocations: 23.92 kB / 1.315 GB, free: 4.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007128/2.564, allocations: 47.97 kB / 1.315 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.041e-05/2.564, allocations: 39.98 kB / 1.315 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/2.564, allocations: 4 kB / 1.315 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008668/2.565, allocations: 0.5565 MB / 1.316 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/2.565, allocations: 15.92 kB / 1.316 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/2.565, allocations: 8 kB / 1.316 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/2.565, allocations: 148.4 kB / 1.316 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/2.565, allocations: 19.89 kB / 1.316 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005707/2.566, allocations: 59.8 kB / 1.316 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/2.566, allocations: 32 kB / 1.316 GB, free: 3.766 MB / 0.6823 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 (74): * Single equations (assignments): 73 * 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.0006579/2.567, allocations: 372.9 kB / 1.316 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/2.567, allocations: 94.78 kB / 1.316 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/2.568, allocations: 0.6425 MB / 1.317 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/2.568, allocations: 7.984 kB / 1.317 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/2.568, allocations: 3.953 kB / 1.317 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008195/2.569, allocations: 0.6962 MB / 1.318 GB, free: 1.871 MB / 0.6823 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.002195/2.571, allocations: 1.541 MB / 1.319 GB, free: 256 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/2.571, allocations: 7.938 kB / 1.319 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000428/2.572, allocations: 91.88 kB / 1.319 GB, free: 156 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/2.572, allocations: 128 / 1.319 GB, free: 156 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/2.572, allocations: 23.98 kB / 1.319 GB, free: 132 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/2.572, allocations: 7.938 kB / 1.319 GB, free: 124 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/2.572, allocations: 0 / 1.319 GB, free: 124 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4852/3.057, allocations: 0.9625 MB / 1.32 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/3.058, allocations: 233.7 kB / 1.32 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/3.058, allocations: 12.47 kB / 1.32 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005647/3.058, allocations: 50.28 kB / 1.321 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/3.058, allocations: 36.73 kB / 1.321 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/3.058, allocations: 21.2 kB / 1.321 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001257/3.06, allocations: 0.6476 MB / 1.321 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/3.06, allocations: 0 / 1.321 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002463/3.062, allocations: 0.5831 MB / 1.322 GB, free: 138.6 MB / 0.6823 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 (48): * Single equations (assignments): 43 * 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.00401/3.066, allocations: 2.442 MB / 1.324 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00213/3.068, allocations: 0.805 MB / 1.325 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/3.068, allocations: 2.953 kB / 1.325 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/3.069, allocations: 250.8 kB / 1.325 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/3.071, allocations: 485.3 kB / 1.326 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005812/3.077, allocations: 6.878 MB / 1.332 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/3.078, allocations: 1.1 MB / 1.333 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001305/3.079, allocations: 256.5 kB / 1.334 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/3.08, allocations: 400.4 kB / 1.334 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.373e-06/3.08, allocations: 0 / 1.334 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06488/3.145, allocations: 33.48 MB / 1.367 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/3.145, allocations: 197.6 kB / 1.367 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/6.293, allocations: 0 / 1.367 GB, free: 130.5 MB / 0.6823 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)