Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,fileNamePrefix="IDEAS_dev_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.001611/0.001611, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7507/0.7507, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.516/1.516, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.000915/0.0009151, allocations: 94 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.317e-05/4.327e-05, allocations: 7.484 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1836, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.45, allocations: 359.9 MB / 0.992 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.451, allocations: 89.23 kB / 0.9921 GB, free: 257.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.034/2.484, allocations: 295.5 MB / 1.281 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.533e-06/2.484, allocations: 0 / 1.281 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001231/2.484, allocations: 29.8 kB / 1.281 GB, free: 146.8 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.002163/2.487, allocations: 1.244 MB / 1.282 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/2.487, allocations: 10.03 kB / 1.282 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/2.487, allocations: 104.7 kB / 1.282 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/2.488, allocations: 189.9 kB / 1.282 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/2.501, allocations: 6.443 MB / 1.288 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.188e-05/2.501, allocations: 55.22 kB / 1.289 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/2.501, allocations: 69.41 kB / 1.289 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/2.503, allocations: 0.6533 MB / 1.289 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/2.503, allocations: 6.875 kB / 1.289 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/2.503, allocations: 25.58 kB / 1.289 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/2.503, allocations: 15.75 kB / 1.289 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001183/2.504, allocations: 466.3 kB / 1.29 GB, free: 145.6 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.005807/2.51, allocations: 2.773 MB / 1.292 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/2.511, allocations: 336.4 kB / 1.293 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/2.512, allocations: 157.3 kB / 1.293 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002933/2.515, allocations: 1.512 MB / 1.294 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005271/2.515, allocations: 232.6 kB / 1.295 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005084/2.516, allocations: 63.92 kB / 1.295 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 4.649e-06/2.516, allocations: 0 / 1.295 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001078/2.517, allocations: 378.6 kB / 1.295 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/2.517, allocations: 58.88 kB / 1.295 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/2.518, allocations: 0.7822 MB / 1.296 GB, free: 143 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.945e-05/2.518, allocations: 40.14 kB / 1.296 GB, free: 143 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/2.519, allocations: 486.9 kB / 1.296 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.519, allocations: 117 kB / 1.296 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/2.519, allocations: 7.188 kB / 1.296 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/2.519, allocations: 333 kB / 1.297 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/2.52, allocations: 148.9 kB / 1.297 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/2.52, allocations: 381 kB / 1.297 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/2.521, allocations: 229.9 kB / 1.297 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/2.521, allocations: 0 / 1.297 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001517/2.522, allocations: 0.624 MB / 1.298 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005433/2.523, allocations: 2.292 MB / 1.3 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/2.523, allocations: 9.438 kB / 1.3 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/2.523, allocations: 10.09 kB / 1.3 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/2.524, allocations: 140.6 kB / 1.3 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/2.524, allocations: 11.2 kB / 1.3 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/2.525, allocations: 63.23 kB / 1.301 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/2.525, allocations: 33.45 kB / 1.301 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/2.525, allocations: 3.844 kB / 1.301 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/2.527, allocations: 0.5217 MB / 1.301 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/2.527, allocations: 10.45 kB / 1.301 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/2.527, allocations: 6.812 kB / 1.301 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/2.527, allocations: 131 kB / 1.301 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/2.527, allocations: 11.12 kB / 1.301 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/2.528, allocations: 59.34 kB / 1.301 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.337e-05/2.529, allocations: 36.08 kB / 1.301 GB, free: 139.6 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.000213/2.529, allocations: 142.8 kB / 1.301 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/2.529, allocations: 89.5 kB / 1.302 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/2.531, allocations: 0.5531 MB / 1.302 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/2.531, allocations: 5.719 kB / 1.302 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/2.531, allocations: 3.516 kB / 1.302 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009273/2.532, allocations: 0.5991 MB / 1.303 GB, free: 139.1 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.002887/2.535, allocations: 1.376 MB / 1.304 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/2.535, allocations: 0 / 1.304 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/2.535, allocations: 88.33 kB / 1.304 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/2.535, allocations: 3.438 kB / 1.304 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/2.535, allocations: 16.36 kB / 1.304 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/2.535, allocations: 5.25 kB / 1.304 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/2.535, allocations: 3.938 kB / 1.304 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/2.537, allocations: 0.8318 MB / 1.305 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/2.538, allocations: 223.2 kB / 1.305 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/2.538, allocations: 7.781 kB / 1.305 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/2.539, allocations: 44.2 kB / 1.305 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/2.539, allocations: 45.66 kB / 1.305 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/2.539, allocations: 15.66 kB / 1.305 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001297/2.54, allocations: 0.6042 MB / 1.306 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/2.54, allocations: 3.312 kB / 1.306 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002802/2.543, allocations: 0.5858 MB / 1.306 GB, free: 138 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.003729/2.547, allocations: 2.31 MB / 1.309 GB, free: 136.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001971/2.549, allocations: 0.8048 MB / 1.309 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/2.549, allocations: 0 / 1.309 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005251/2.549, allocations: 205.7 kB / 1.31 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003621/2.553, allocations: 467.6 kB / 1.31 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/2.558, allocations: 1.472 MB / 1.312 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/2.558, allocations: 1.075 MB / 1.313 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00243/2.561, allocations: 335.1 kB / 1.313 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000675/2.562, allocations: 357.5 kB / 1.313 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.283e-06/2.562, allocations: 0 / 1.313 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09132/2.653, allocations: 35.01 MB / 1.347 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/2.653, allocations: 184.8 kB / 1.348 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.049/5.702, allocations: 4 kB / 1.348 GB, free: 133.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_Examples_PumpWithPulseControl.fmu > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)