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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7688/0.7688, allocations: 132.3 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003389/0.000339, allocations: 8.938 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.4647, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02881/0.4936, allocations: 28.05 MB / 0.6105 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.5073, allocations: 9.545 MB / 0.6199 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.5094, allocations: 32.16 kB / 0.6199 GB, free: 7.82 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.5114, allocations: 472 kB / 0.6203 GB, free: 7.449 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003581/0.515, allocations: 1.193 MB / 0.6215 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.5179, allocations: 0.9848 MB / 0.6225 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00452/0.5224, allocations: 3.252 MB / 0.6256 GB, free: 3.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.524, allocations: 0.6905 MB / 0.6263 GB, free: 3.535 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.5262, allocations: 0.9318 MB / 0.6272 GB, free: 3.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.5277, allocations: 0.7377 MB / 0.628 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.528, allocations: 36 kB / 0.628 GB, free: 2.555 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.5297, allocations: 0.5228 MB / 0.6285 GB, free: 2.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.5302, allocations: 271 kB / 0.6288 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.5307, allocations: 237.1 kB / 0.629 GB, free: 1.527 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.5324, allocations: 1.368 MB / 0.6303 GB, free: 160 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5325, allocations: 0 / 0.6303 GB, free: 160 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5325, allocations: 0 / 0.6303 GB, free: 160 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.5325, allocations: 0 / 0.6303 GB, free: 160 kB / 462.1 MB 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.002498/0.535, allocations: 1.306 MB / 0.6316 GB, free: 14.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5351, allocations: 12.03 kB / 0.6316 GB, free: 14.78 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.5352, allocations: 102.5 kB / 0.6317 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/0.5362, allocations: 214.4 kB / 0.6319 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.5381, allocations: 0.9604 MB / 0.6328 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/0.5381, allocations: 49.31 kB / 0.6329 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.5383, allocations: 72 kB / 0.633 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.5397, allocations: 0.7207 MB / 0.6337 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.5397, allocations: 4 kB / 0.6337 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.037e-05/0.5398, allocations: 24 kB / 0.6337 GB, free: 12.56 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.5398, allocations: 16 kB / 0.6337 GB, free: 12.55 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.5411, allocations: 0.5711 MB / 0.6343 GB, free: 11.97 MB / 478.1 MB 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.004361/0.5455, allocations: 3.136 MB / 0.6373 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.5466, allocations: 429.1 kB / 0.6377 GB, free: 8.223 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.5471, allocations: 217.3 kB / 0.6379 GB, free: 8.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/0.549, allocations: 1.533 MB / 0.6394 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000617/0.5496, allocations: 279.1 kB / 0.6397 GB, free: 6.016 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002558/0.5499, allocations: 51.52 kB / 0.6398 GB, free: 5.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.164e-06/0.5499, allocations: 0 / 0.6398 GB, free: 5.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.001542/0.5514, allocations: 0.6116 MB / 0.6403 GB, free: 5.348 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.5515, allocations: 59.39 kB / 0.6404 GB, free: 5.277 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.5525, allocations: 0.8916 MB / 0.6413 GB, free: 4.363 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.5526, allocations: 33.64 kB / 0.6413 GB, free: 4.324 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/0.553, allocations: 495.7 kB / 0.6418 GB, free: 3.832 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-05/0.5531, allocations: 110.5 kB / 0.6419 GB, free: 3.723 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.5532, allocations: 12 kB / 0.6419 GB, free: 3.711 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.5533, allocations: 326 kB / 0.6422 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.5538, allocations: 201 kB / 0.6424 GB, free: 3.191 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/0.5544, allocations: 423.5 kB / 0.6428 GB, free: 2.691 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005726/0.555, allocations: 279.7 kB / 0.6431 GB, free: 2.414 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.555, allocations: 0 / 0.6431 GB, free: 2.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001444/0.5565, allocations: 0.7258 MB / 0.6438 GB, free: 1.676 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.5567, allocations: 292.4 kB / 0.6441 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5567, allocations: 4 kB / 0.6441 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.5567, allocations: 15.95 kB / 0.6441 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.5573, allocations: 131.8 kB / 0.6442 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.5573, allocations: 15.92 kB / 0.6442 GB, free: 1.137 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.558, allocations: 72.5 kB / 0.6443 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.257e-05/0.5581, allocations: 28 kB / 0.6443 GB, free: 1.039 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.5581, allocations: 4 kB / 0.6443 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/0.5591, allocations: 0.572 MB / 0.6449 GB, free: 468 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5592, allocations: 8.125 kB / 0.6449 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.5592, allocations: 8 kB / 0.6449 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004215/0.5596, allocations: 127.8 kB / 0.645 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.5596, allocations: 11.94 kB / 0.645 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.5602, allocations: 56.61 kB / 0.6451 GB, free: 256 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.5602, allocations: 24 kB / 0.6451 GB, free: 232 kB / 478.1 MB 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 (64): * Single equations (assignments): 62 * 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.0004322/0.5607, allocations: 368.8 kB / 0.6455 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5608, allocations: 94.8 kB / 0.6455 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.5622, allocations: 0.6271 MB / 0.6462 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.5623, allocations: 7.984 kB / 0.6462 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5623, allocations: 3.938 kB / 0.6462 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.5634, allocations: 0.6905 MB / 0.6468 GB, free: 14.36 MB / 494.1 MB 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.002333/0.5657, allocations: 1.477 MB / 0.6483 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.5657, allocations: 4 kB / 0.6483 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.5661, allocations: 87.8 kB / 0.6484 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.5662, allocations: 4 kB / 0.6484 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.5662, allocations: 20.11 kB / 0.6484 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.5662, allocations: 8 kB / 0.6484 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5662, allocations: 7.891 kB / 0.6484 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.5679, allocations: 0.9059 MB / 0.6493 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.5682, allocations: 219.8 kB / 0.6495 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.5684, allocations: 11.98 kB / 0.6495 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.5689, allocations: 55.92 kB / 0.6496 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.569, allocations: 35.84 kB / 0.6496 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.5691, allocations: 19.98 kB / 0.6496 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008002/0.5699, allocations: 0.6102 MB / 0.6502 GB, free: 10.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5699, allocations: 0 / 0.6502 GB, free: 10.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001418/0.5713, allocations: 0.5107 MB / 0.6507 GB, free: 10.25 MB / 494.1 MB 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 (39): * Single equations (assignments): 33 * 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.002551/0.5739, allocations: 1.702 MB / 0.6524 GB, free: 8.523 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.5756, allocations: 0.8987 MB / 0.6533 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5757, allocations: 0 / 0.6533 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.5762, allocations: 240.4 kB / 0.6535 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.5782, allocations: 476.2 kB / 0.6539 GB, free: 6.906 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.5883, allocations: 5.552 MB / 0.6594 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.5889, allocations: 1.052 MB / 0.6604 GB, free: 4 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009672/0.5899, allocations: 227.3 kB / 0.6606 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/0.5904, allocations: 367.3 kB / 0.661 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.5904, allocations: 0 / 0.661 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04817/0.6386, allocations: 27.98 MB / 0.6883 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.6389, allocations: 227.3 kB / 0.6885 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.067, allocations: 0 / 0.6885 GB, free: 3.652 MB / 0.5137 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) Environment - environmentSimulation: