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: translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001219/0.001219, allocations: 192.1 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8174/0.8174, allocations: 132.2 MB / 423.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 63.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4178, allocations: 80.17 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02544/0.4433, allocations: 30.58 MB / 0.6114 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.4582, allocations: 10.21 MB / 0.6213 GB, free: 5.352 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.46, allocations: 43.75 kB / 0.6214 GB, free: 5.309 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.462, allocations: 0.6931 MB / 0.622 GB, free: 4.613 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.4658, allocations: 1.461 MB / 0.6235 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.4689, allocations: 1.302 MB / 0.6247 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003861/0.4728, allocations: 2.887 MB / 0.6276 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.4741, allocations: 0.9293 MB / 0.6285 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.4767, allocations: 1.135 MB / 0.6296 GB, free: 12.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.4778, allocations: 0.7662 MB / 0.6303 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.478, allocations: 100 kB / 0.6304 GB, free: 12.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.4797, allocations: 0.7996 MB / 0.6312 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003378/0.4801, allocations: 331 kB / 0.6315 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.4807, allocations: 0.5792 MB / 0.6321 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.4835, allocations: 1.897 MB / 0.6339 GB, free: 8.414 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4835, allocations: 0 / 0.6339 GB, free: 8.414 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4835, allocations: 0 / 0.6339 GB, free: 8.414 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.4836, allocations: 4 kB / 0.6339 GB, free: 8.41 MB / 478.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.002467/0.486, allocations: 1.489 MB / 0.6354 GB, free: 6.859 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4861, allocations: 8.031 kB / 0.6354 GB, free: 6.852 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009915/0.4871, allocations: 211.3 kB / 0.6356 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.4889, allocations: 1.015 MB / 0.6366 GB, free: 5.586 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.489, allocations: 49.31 kB / 0.6366 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4891, allocations: 64 kB / 0.6367 GB, free: 5.477 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.4903, allocations: 0.6981 MB / 0.6374 GB, free: 4.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.4904, allocations: 0 / 0.6374 GB, free: 4.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.4904, allocations: 28 kB / 0.6374 GB, free: 4.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.4904, allocations: 16 kB / 0.6374 GB, free: 4.707 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.4916, allocations: 0.5203 MB / 0.6379 GB, free: 4.188 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.004019/0.4956, allocations: 3.059 MB / 0.6409 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009043/0.4965, allocations: 391.2 kB / 0.6413 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.4969, allocations: 184.8 kB / 0.6415 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00192/0.4989, allocations: 1.489 MB / 0.6429 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/0.4994, allocations: 240.8 kB / 0.6432 GB, free: 14.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.4995, allocations: 0 / 0.6432 GB, free: 14.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001446/0.5009, allocations: 0.5471 MB / 0.6437 GB, free: 13.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.501, allocations: 59.34 kB / 0.6438 GB, free: 13.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.5022, allocations: 0.8994 MB / 0.6446 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.798e-05/0.5022, allocations: 41.69 kB / 0.6447 GB, free: 12.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.5026, allocations: 479.8 kB / 0.6451 GB, free: 12.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.5027, allocations: 106.5 kB / 0.6452 GB, free: 12.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001908/0.5029, allocations: 130 kB / 0.6454 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5031, allocations: 326 kB / 0.6457 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.5035, allocations: 199 kB / 0.6459 GB, free: 11.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.5042, allocations: 402.8 kB / 0.6462 GB, free: 11.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.5052, allocations: 0.5945 MB / 0.6468 GB, free: 10.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5052, allocations: 3.938 kB / 0.6468 GB, free: 10.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001417/0.5067, allocations: 0.7031 MB / 0.6475 GB, free: 9.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.5067, allocations: 37.78 kB / 0.6475 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5067, allocations: 12 kB / 0.6476 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.5068, allocations: 8 kB / 0.6476 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/0.5073, allocations: 123.8 kB / 0.6477 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/0.5073, allocations: 19.88 kB / 0.6477 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000583/0.5079, allocations: 72 kB / 0.6478 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.508, allocations: 31.98 kB / 0.6478 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006505/0.5086, allocations: 401.1 kB / 0.6482 GB, free: 9.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005158/0.5091, allocations: 374.1 kB / 0.6485 GB, free: 8.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008612/0.51, allocations: 0.5464 MB / 0.6491 GB, free: 7.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.052e-06/0.51, allocations: 4 kB / 0.6491 GB, free: 7.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001181/0.5112, allocations: 0.6582 MB / 0.6497 GB, free: 7.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.5113, allocations: 37.86 kB / 0.6498 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.5113, allocations: 4.156 kB / 0.6498 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.5113, allocations: 15.94 kB / 0.6498 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/0.5117, allocations: 119.8 kB / 0.6499 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.5118, allocations: 19.91 kB / 0.6499 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.5123, allocations: 60.2 kB / 0.65 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.517e-05/0.5124, allocations: 31.98 kB / 0.65 GB, free: 7.004 MB / 494.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001947/0.5126, allocations: 212.1 kB / 0.6502 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.5127, allocations: 94.78 kB / 0.6503 GB, free: 6.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.514, allocations: 0.5743 MB / 0.6508 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.5141, allocations: 7.984 kB / 0.6509 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.5141, allocations: 7.938 kB / 0.6509 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009765/0.5151, allocations: 0.6426 MB / 0.6515 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.5173, allocations: 1.363 MB / 0.6528 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5173, allocations: 0 / 0.6528 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.5177, allocations: 80 kB / 0.6529 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.5177, allocations: 0 / 0.6529 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.5177, allocations: 19.98 kB / 0.6529 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5177, allocations: 0 / 0.6529 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5177, allocations: 7.938 kB / 0.6529 GB, free: 3.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.5193, allocations: 0.8285 MB / 0.6537 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.5196, allocations: 223.8 kB / 0.6539 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5198, allocations: 8 kB / 0.654 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.5202, allocations: 15.98 kB / 0.654 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.5203, allocations: 36.17 kB / 0.654 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.5203, allocations: 19.98 kB / 0.654 GB, free: 2.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007836/0.5211, allocations: 0.618 MB / 0.6546 GB, free: 2.051 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5211, allocations: 0 / 0.6546 GB, free: 2.051 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001427/0.5226, allocations: 0.5069 MB / 0.6551 GB, free: 1.543 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 (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007952/0.5234, allocations: 375.2 kB / 0.6555 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.5251, allocations: 0.8598 MB / 0.6563 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5251, allocations: 0 / 0.6563 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005189/0.5256, allocations: 224.3 kB / 0.6565 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/0.5275, allocations: 0.4919 MB / 0.657 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.5303, allocations: 1.593 MB / 0.6586 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.531, allocations: 1.052 MB / 0.6596 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000796/0.5318, allocations: 226.8 kB / 0.6598 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.532, allocations: 83.41 kB / 0.6599 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.532, allocations: 0 / 0.6599 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.03324/0.5652, allocations: 20.01 MB / 0.6794 GB, free: 8.852 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (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 & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)