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.01733/0.01733, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.339/1.339, allocations: 135.2 MB / 151 MB, free: 13.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 2.794/2.794, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001475/0.001474, allocations: 102.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005721/0.0005716, allocations: 8 kB / 0.5691 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9488/0.9494, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.772/2.721, allocations: 360 MB / 1.001 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004659/2.722, allocations: 96.38 kB / 1.001 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.05/4.772, allocations: 296.6 MB / 1.291 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.09e-06/4.772, allocations: 0 / 1.291 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002016/4.772, allocations: 27.94 kB / 1.291 GB, free: 30.08 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.006562/4.779, allocations: 1.555 MB / 1.292 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.921e-05/4.779, allocations: 8.031 kB / 1.292 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003363/4.779, allocations: 102.5 kB / 1.292 GB, free: 28.35 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/4.781, allocations: 190.5 kB / 1.293 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/4.805, allocations: 6.499 MB / 1.299 GB, free: 21.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/4.806, allocations: 49.31 kB / 1.299 GB, free: 21.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/4.806, allocations: 71.98 kB / 1.299 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/4.808, allocations: 0.6942 MB / 1.3 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.72e-05/4.808, allocations: 0 / 1.3 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/4.808, allocations: 24 kB / 1.3 GB, free: 20.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/4.808, allocations: 16 kB / 1.3 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/4.81, allocations: 0.5204 MB / 1.3 GB, free: 20.16 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.007092/4.817, allocations: 2.788 MB / 1.303 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/4.819, allocations: 393.7 kB / 1.303 GB, free: 16.84 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003324/4.822, allocations: 1.506 MB / 1.305 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008806/4.823, allocations: 253.6 kB / 1.305 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006447/4.824, allocations: 59.52 kB / 1.305 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 8.115e-06/4.824, allocations: 0 / 1.305 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.002461/4.826, allocations: 0.5771 MB / 1.306 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/4.827, allocations: 55.41 kB / 1.306 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/4.829, allocations: 0.7851 MB / 1.307 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.848e-05/4.829, allocations: 37.7 kB / 1.307 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007187/4.829, allocations: 495.6 kB / 1.307 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/4.83, allocations: 114.4 kB / 1.307 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/4.83, allocations: 12 kB / 1.307 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001958/4.83, allocations: 329.9 kB / 1.308 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008849/4.831, allocations: 181 kB / 1.308 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/4.832, allocations: 410.3 kB / 1.308 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/4.833, allocations: 268 kB / 1.308 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.806e-05/4.833, allocations: 4 kB / 1.308 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002456/4.835, allocations: 0.6829 MB / 1.309 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001802/4.837, allocations: 2.297 MB / 1.311 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/4.837, allocations: 8 kB / 1.311 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.345e-05/4.837, allocations: 8 kB / 1.311 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/4.838, allocations: 135.8 kB / 1.311 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-05/4.838, allocations: 15.92 kB / 1.311 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/4.84, allocations: 55.91 kB / 1.311 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/4.84, allocations: 35.92 kB / 1.312 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/4.84, allocations: 7.984 kB / 1.312 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001728/4.842, allocations: 0.5687 MB / 1.312 GB, free: 7.441 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/4.842, allocations: 4 kB / 1.312 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/4.842, allocations: 8 kB / 1.312 GB, free: 7.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/4.842, allocations: 127.8 kB / 1.312 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/4.842, allocations: 15.92 kB / 1.312 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/4.844, allocations: 51.94 kB / 1.312 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/4.844, allocations: 35.98 kB / 1.312 GB, free: 7.203 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 () * Number of clocked 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.002014/4.846, allocations: 368.6 kB / 1.313 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/4.847, allocations: 94.86 kB / 1.313 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/4.85, allocations: 0.6117 MB / 1.313 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/4.85, allocations: 4 kB / 1.313 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/4.85, allocations: 0 / 1.313 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002351/4.853, allocations: 0.6587 MB / 1.314 GB, free: 5.387 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.007131/4.86, allocations: 1.444 MB / 1.315 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/4.86, allocations: 0 / 1.315 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/4.86, allocations: 91.92 kB / 1.315 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.339e-05/4.86, allocations: 4 kB / 1.315 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.518e-05/4.861, allocations: 15.95 kB / 1.316 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/4.861, allocations: 4 kB / 1.316 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/4.861, allocations: 7.922 kB / 1.316 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/4.863, allocations: 0.9236 MB / 1.316 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008768/4.864, allocations: 223.8 kB / 1.317 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000421/4.864, allocations: 8 kB / 1.317 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/4.866, allocations: 48.02 kB / 1.317 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/4.866, allocations: 39.84 kB / 1.317 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.773e-05/4.866, allocations: 19.97 kB / 1.317 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001985/4.868, allocations: 0.6141 MB / 1.317 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/4.868, allocations: 0 / 1.317 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004345/4.872, allocations: 0.581 MB / 1.318 GB, free: 1.207 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) * Number of clocked states: 0 () * 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.9829/5.855, allocations: 2.386 MB / 1.32 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004096/5.859, allocations: 0.8551 MB / 1.321 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/5.859, allocations: 0.6562 kB / 1.321 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/5.861, allocations: 236.1 kB / 1.321 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/5.865, allocations: 468.1 kB / 1.322 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/5.878, allocations: 6.484 MB / 1.328 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/5.879, allocations: 1.08 MB / 1.329 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002721/5.882, allocations: 231.9 kB / 1.329 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/5.883, allocations: 371.4 kB / 1.33 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of SimCode: time 3.206e-06/5.883, allocations: 0 / 1.33 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1715/6.055, allocations: 32.45 MB / 1.361 GB, free: 133 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003384/6.055, allocations: 211.6 kB / 1.362 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.974/12.03, allocations: 0 / 1.362 GB, free: 132.7 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)