Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",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.001993/0.001994, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7376/0.7376, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.583/1.583, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 87.08 kB / 483.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.124e-05, allocations: 3 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1905, allocations: 82.31 MB / 0.6405 GB, free: 7.754 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.5, allocations: 359.9 MB / 0.992 GB, free: 207 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.501, allocations: 89.17 kB / 0.9921 GB, free: 207 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.031/2.532, allocations: 295.5 MB / 1.281 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/2.532, allocations: 0 / 1.281 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002009/2.532, allocations: 30.61 kB / 1.281 GB, free: 147.7 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003182/2.535, allocations: 1.241 MB / 1.282 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/2.535, allocations: 10.25 kB / 1.282 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002311/2.536, allocations: 110 kB / 1.282 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/2.537, allocations: 184.6 kB / 1.282 GB, free: 147 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/2.552, allocations: 6.442 MB / 1.288 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.924e-05/2.552, allocations: 62.55 kB / 1.289 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/2.552, allocations: 66.12 kB / 1.289 GB, free: 146.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/2.554, allocations: 0.6548 MB / 1.289 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/2.554, allocations: 0 / 1.289 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/2.554, allocations: 29.25 kB / 1.289 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/2.554, allocations: 14.06 kB / 1.289 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009722/2.555, allocations: 478.6 kB / 1.29 GB, free: 146.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004462/2.559, allocations: 2.765 MB / 1.292 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/2.56, allocations: 343.3 kB / 1.293 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/2.56, allocations: 157.1 kB / 1.293 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002059/2.562, allocations: 1.518 MB / 1.294 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/2.562, allocations: 230.3 kB / 1.295 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004339/2.563, allocations: 61.88 kB / 1.295 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/2.563, allocations: 0 / 1.295 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0007836/2.564, allocations: 384.9 kB / 1.295 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/2.564, allocations: 56.5 kB / 1.295 GB, free: 144 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/2.565, allocations: 0.7771 MB / 1.296 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/2.565, allocations: 39.67 kB / 1.296 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/2.565, allocations: 493 kB / 1.296 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.931e-05/2.565, allocations: 107.8 kB / 1.296 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/2.565, allocations: 10 kB / 1.296 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/2.566, allocations: 331.3 kB / 1.297 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/2.566, allocations: 152.3 kB / 1.297 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/2.566, allocations: 372.5 kB / 1.297 GB, free: 143 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000374/2.567, allocations: 223.8 kB / 1.297 GB, free: 143 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/2.567, allocations: 3.562 kB / 1.297 GB, free: 143 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00105/2.568, allocations: 0.6265 MB / 1.298 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006306/2.568, allocations: 2.307 MB / 1.3 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/2.568, allocations: 5.125 kB / 1.3 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/2.568, allocations: 10.88 kB / 1.3 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/2.569, allocations: 138.9 kB / 1.3 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/2.569, allocations: 10 kB / 1.3 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007897/2.57, allocations: 59.73 kB / 1.301 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/2.57, allocations: 35.59 kB / 1.301 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/2.57, allocations: 3.688 kB / 1.301 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007942/2.571, allocations: 0.5131 MB / 1.301 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/2.571, allocations: 11.06 kB / 1.301 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/2.571, allocations: 11.84 kB / 1.301 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/2.571, allocations: 127.1 kB / 1.301 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/2.571, allocations: 19.58 kB / 1.301 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006577/2.572, allocations: 51.77 kB / 1.301 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/2.572, allocations: 36.72 kB / 1.301 GB, free: 140.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 1 * 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.0001583/2.572, allocations: 154.9 kB / 1.301 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/2.572, allocations: 92.17 kB / 1.302 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009887/2.573, allocations: 0.5469 MB / 1.302 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/2.573, allocations: 3.875 kB / 1.302 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/2.573, allocations: 3.562 kB / 1.302 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005302/2.574, allocations: 0.5967 MB / 1.303 GB, free: 139.9 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00199/2.576, allocations: 1.38 MB / 1.304 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/2.576, allocations: 0 / 1.304 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/2.576, allocations: 82.41 kB / 1.304 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/2.576, allocations: 6.594 kB / 1.304 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/2.576, allocations: 22.42 kB / 1.304 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/2.576, allocations: 2.438 kB / 1.304 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.576, allocations: 2.125 kB / 1.304 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/2.577, allocations: 0.833 MB / 1.305 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/2.578, allocations: 214 kB / 1.305 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/2.578, allocations: 10.45 kB / 1.305 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/2.578, allocations: 51.89 kB / 1.305 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/2.578, allocations: 37 kB / 1.305 GB, free: 139 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/2.578, allocations: 19.39 kB / 1.305 GB, free: 139 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007526/2.579, allocations: 0.608 MB / 1.306 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.61e-07/2.579, allocations: 0 / 1.306 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002065/2.581, allocations: 0.5819 MB / 1.306 GB, free: 138.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.002699/2.584, allocations: 2.313 MB / 1.309 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001155/2.585, allocations: 0.8056 MB / 1.309 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/2.585, allocations: 3.938 kB / 1.309 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/2.585, allocations: 201.3 kB / 1.31 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.001992/2.587, allocations: 477.4 kB / 1.31 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/2.59, allocations: 1.463 MB / 1.312 GB, free: 137 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/2.591, allocations: 1.071 MB / 1.313 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001288/2.592, allocations: 329.1 kB / 1.313 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/2.593, allocations: 358.9 kB / 1.313 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/2.593, allocations: 0 / 1.313 GB, free: 136.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0584/2.651, allocations: 35 MB / 1.347 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/2.651, allocations: 177.6 kB / 1.348 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/5.711, allocations: 0 / 1.348 GB, free: 134.4 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)