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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008151/0.0008152, allocations: 91.84 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.0008998/0.0008999, 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.381/1.381, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9243/0.9243, allocations: 135.3 MB / 426.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 9.094 kB / 0.5071 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 82.31 MB / 0.5875 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.2895/0.44, allocations: 28.03 MB / 0.6148 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.4505, allocations: 9.542 MB / 0.6242 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.4523, allocations: 37.69 kB / 0.6242 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.4537, allocations: 465.9 kB / 0.6246 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.4568, allocations: 1.207 MB / 0.6258 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002624/0.4595, allocations: 0.9715 MB / 0.6268 GB, free: 32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003425/0.4629, allocations: 3.256 MB / 0.6299 GB, free: 30.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.464, allocations: 0.6894 MB / 0.6306 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.4656, allocations: 0.9293 MB / 0.6315 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008843/0.4665, allocations: 0.7351 MB / 0.6322 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.436e-05/0.4666, allocations: 38.09 kB / 0.6323 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.4679, allocations: 0.527 MB / 0.6328 GB, free: 29.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.4682, allocations: 267.5 kB / 0.633 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002393/0.4684, allocations: 240 kB / 0.6333 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.4696, allocations: 1.365 MB / 0.6346 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4696, allocations: 0 / 0.6346 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4696, allocations: 0 / 0.6346 GB, free: 29.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.4696, allocations: 0 / 0.6346 GB, free: 29.17 MB / 0.4981 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.001763/0.4714, allocations: 1.31 MB / 0.6359 GB, free: 28.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.4714, allocations: 9.656 kB / 0.6359 GB, free: 28.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.556e-05/0.4715, allocations: 105 kB / 0.636 GB, free: 28.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/0.4723, allocations: 216.5 kB / 0.6362 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.4736, allocations: 0.9618 MB / 0.6371 GB, free: 27.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.4736, allocations: 55.48 kB / 0.6372 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.4737, allocations: 63.56 kB / 0.6373 GB, free: 27.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.4748, allocations: 0.723 MB / 0.638 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4749, allocations: 3.938 kB / 0.638 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/0.4749, allocations: 26.06 kB / 0.638 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4749, allocations: 15.34 kB / 0.638 GB, free: 27.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.476, allocations: 0.5639 MB / 0.6386 GB, free: 26.95 MB / 0.4981 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.003037/0.4791, allocations: 3.132 MB / 0.6416 GB, free: 24.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/0.48, allocations: 432.1 kB / 0.642 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004115/0.4804, allocations: 223.7 kB / 0.6422 GB, free: 24.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.4818, allocations: 1.545 MB / 0.6437 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005091/0.4823, allocations: 259.5 kB / 0.644 GB, free: 23.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000175/0.4825, allocations: 57.48 kB / 0.6441 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.843e-06/0.4825, allocations: 0 / 0.6441 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001317/0.4838, allocations: 0.6205 MB / 0.6447 GB, free: 22.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.4838, allocations: 61.62 kB / 0.6447 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.4847, allocations: 0.882 MB / 0.6456 GB, free: 22.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.4847, allocations: 39.33 kB / 0.6456 GB, free: 22.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.485, allocations: 489.3 kB / 0.6461 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-05/0.4851, allocations: 105 kB / 0.6462 GB, free: 21.95 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.4851, allocations: 10.66 kB / 0.6462 GB, free: 21.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.4851, allocations: 332.6 kB / 0.6465 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.4856, allocations: 201.7 kB / 0.6467 GB, free: 21.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.4861, allocations: 423 kB / 0.6471 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.4866, allocations: 274.2 kB / 0.6474 GB, free: 21.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4866, allocations: 0 / 0.6474 GB, free: 21.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001217/0.4878, allocations: 0.7349 MB / 0.6481 GB, free: 20.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.4879, allocations: 287.1 kB / 0.6484 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4879, allocations: 3.188 kB / 0.6484 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.488, allocations: 11.22 kB / 0.6484 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004706/0.4884, allocations: 137.9 kB / 0.6485 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4885, allocations: 9.094 kB / 0.6485 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.4891, allocations: 80.92 kB / 0.6486 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.4891, allocations: 30.84 kB / 0.6486 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.4891, allocations: 11.19 kB / 0.6486 GB, free: 20.4 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008461/0.49, allocations: 0.5644 MB / 0.6492 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.49, allocations: 5.344 kB / 0.6492 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.49, allocations: 14.47 kB / 0.6492 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.4904, allocations: 129.7 kB / 0.6493 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4905, allocations: 13.42 kB / 0.6493 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.4909, allocations: 55.81 kB / 0.6494 GB, free: 20.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.491, allocations: 30.61 kB / 0.6494 GB, free: 20.14 MB / 0.4981 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 (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.0003348/0.4914, allocations: 359.7 kB / 0.6498 GB, free: 19.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.4915, allocations: 93.89 kB / 0.6498 GB, free: 19.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.4928, allocations: 0.6315 MB / 0.6505 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4928, allocations: 3.906 kB / 0.6505 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4928, allocations: 1.531 kB / 0.6505 GB, free: 19.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009646/0.4938, allocations: 0.6947 MB / 0.6512 GB, free: 19.1 MB / 0.4981 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.002149/0.4959, allocations: 1.475 MB / 0.6526 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.496, allocations: 1.406 kB / 0.6526 GB, free: 18.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.4963, allocations: 92.78 kB / 0.6527 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.4964, allocations: 3.094 kB / 0.6527 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.4964, allocations: 11.53 kB / 0.6527 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4964, allocations: 3 kB / 0.6527 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.4964, allocations: 5.438 kB / 0.6527 GB, free: 18.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.498, allocations: 0.9155 MB / 0.6536 GB, free: 17.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.4983, allocations: 223.1 kB / 0.6538 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4984, allocations: 12.34 kB / 0.6538 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005211/0.4989, allocations: 60.22 kB / 0.6539 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.499, allocations: 31.84 kB / 0.6539 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.4991, allocations: 23.44 kB / 0.6539 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007645/0.4998, allocations: 0.605 MB / 0.6545 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4998, allocations: 0 / 0.6545 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001427/0.5013, allocations: 0.5121 MB / 0.655 GB, free: 17.25 MB / 0.4981 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 (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.002488/0.5038, allocations: 1.697 MB / 0.6567 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001702/0.5055, allocations: 0.8958 MB / 0.6576 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5055, allocations: 1.25 kB / 0.6576 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.506, allocations: 248 kB / 0.6578 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.508, allocations: 484.2 kB / 0.6583 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.5186, allocations: 5.543 MB / 0.6637 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.5191, allocations: 1.049 MB / 0.6647 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001066/0.5202, allocations: 229.8 kB / 0.6649 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004659/0.5207, allocations: 376 kB / 0.6653 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.5207, allocations: 0 / 0.6653 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.5648, allocations: 27.99 MB / 0.6926 GB, free: 228 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/0.565, allocations: 221.1 kB / 0.6928 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.21, allocations: 4 kB / 0.6928 GB, free: 15.98 MB / 0.5137 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) Environment - environmentSimulation: