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.01124/0.01124, allocations: 170.8 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 0.8294/0.8294, 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.637/1.637, allocations: 223.2 MB / 406.8 MB, free: 3.148 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.001189/0.001189, allocations: 95.83 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5301/0.5305, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9439/1.475, allocations: 360 MB / 1.001 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/1.475, allocations: 94.7 kB / 1.001 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.061/2.535, allocations: 296.6 MB / 1.291 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.725e-06/2.536, allocations: 0 / 1.291 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001343/2.536, allocations: 31.92 kB / 1.291 GB, free: 30.11 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.003488/2.539, allocations: 1.553 MB / 1.292 GB, free: 28.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/2.539, allocations: 8.031 kB / 1.292 GB, free: 28.49 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/2.539, allocations: 102.5 kB / 1.292 GB, free: 28.38 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/2.54, allocations: 186.5 kB / 1.293 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/2.553, allocations: 6.499 MB / 1.299 GB, free: 21.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/2.554, allocations: 57.31 kB / 1.299 GB, free: 21.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/2.554, allocations: 64 kB / 1.299 GB, free: 21.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/2.555, allocations: 0.6942 MB / 1.3 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/2.555, allocations: 0 / 1.3 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/2.555, allocations: 27.98 kB / 1.3 GB, free: 20.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/2.555, allocations: 16 kB / 1.3 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/2.556, allocations: 0.5282 MB / 1.3 GB, free: 20.19 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.003874/2.56, allocations: 2.776 MB / 1.303 GB, free: 17.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008394/2.561, allocations: 397.1 kB / 1.303 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/2.563, allocations: 1.506 MB / 1.305 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004941/2.563, allocations: 265.6 kB / 1.305 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003214/2.564, allocations: 55.5 kB / 1.305 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.507e-06/2.564, allocations: 0 / 1.305 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001304/2.565, allocations: 0.5693 MB / 1.306 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/2.565, allocations: 59.41 kB / 1.306 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/2.566, allocations: 0.7851 MB / 1.307 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/2.566, allocations: 45.62 kB / 1.307 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/2.566, allocations: 487.7 kB / 1.307 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/2.566, allocations: 110.5 kB / 1.307 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/2.566, allocations: 12 kB / 1.307 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/2.566, allocations: 333.9 kB / 1.308 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/2.567, allocations: 177 kB / 1.308 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004931/2.567, allocations: 410.3 kB / 1.308 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/2.568, allocations: 268 kB / 1.308 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/2.568, allocations: 4 kB / 1.308 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00118/2.569, allocations: 0.6868 MB / 1.309 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004307/2.569, allocations: 2.293 MB / 1.311 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/2.569, allocations: 8 kB / 1.311 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/2.57, allocations: 8 kB / 1.311 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/2.57, allocations: 135.8 kB / 1.311 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/2.57, allocations: 15.92 kB / 1.311 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007256/2.571, allocations: 55.91 kB / 1.311 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.656e-05/2.571, allocations: 47.89 kB / 1.312 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/2.571, allocations: 4 kB / 1.312 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009415/2.572, allocations: 0.5648 MB / 1.312 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/2.572, allocations: 4 kB / 1.312 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/2.572, allocations: 12 kB / 1.312 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/2.572, allocations: 127.8 kB / 1.312 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/2.572, allocations: 11.98 kB / 1.312 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000612/2.573, allocations: 55.94 kB / 1.312 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/2.573, allocations: 31.98 kB / 1.312 GB, free: 7.23 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.0006171/2.574, allocations: 372.5 kB / 1.313 GB, free: 6.855 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/2.574, allocations: 90.88 kB / 1.313 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/2.575, allocations: 0.6118 MB / 1.313 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/2.575, allocations: 4 kB / 1.313 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/2.575, allocations: 0 / 1.313 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009267/2.576, allocations: 0.6625 MB / 1.314 GB, free: 5.41 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.002201/2.578, allocations: 1.436 MB / 1.315 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/2.578, allocations: 0 / 1.315 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/2.579, allocations: 91.94 kB / 1.315 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/2.579, allocations: 4 kB / 1.315 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/2.579, allocations: 15.94 kB / 1.316 GB, free: 3.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/2.579, allocations: 4 kB / 1.316 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.579, allocations: 4 kB / 1.316 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/2.58, allocations: 0.9314 MB / 1.316 GB, free: 2.793 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003734/2.581, allocations: 223.8 kB / 1.317 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/2.581, allocations: 8 kB / 1.317 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/2.581, allocations: 48.02 kB / 1.317 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/2.581, allocations: 39.89 kB / 1.317 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/2.581, allocations: 19.98 kB / 1.317 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007776/2.582, allocations: 0.6141 MB / 1.317 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.582, allocations: 0 / 1.317 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002048/2.584, allocations: 0.5849 MB / 1.318 GB, free: 1.23 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.4956/3.08, allocations: 2.386 MB / 1.32 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002713/3.083, allocations: 0.8555 MB / 1.321 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/3.083, allocations: 0 / 1.321 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006917/3.083, allocations: 233.6 kB / 1.321 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/3.086, allocations: 465.6 kB / 1.322 GB, free: 139 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008035/3.094, allocations: 6.486 MB / 1.328 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009806/3.096, allocations: 1.073 MB / 1.329 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001425/3.097, allocations: 230.1 kB / 1.329 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/3.098, allocations: 369.8 kB / 1.33 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.362e-06/3.098, allocations: 0 / 1.33 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/3.16, allocations: 32.46 MB / 1.361 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/3.16, allocations: 201 kB / 1.362 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.03/6.19, allocations: 0 / 1.362 GB, free: 132.3 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)