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: translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001391/0.001391, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9503/0.9503, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.78 kB / 0.5053 GB, free: 5.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.171, allocations: 80.93 MB / 0.5844 GB, free: 4.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.3029/0.4739, allocations: 30.56 MB / 0.6142 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.4856, allocations: 10.21 MB / 0.6242 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.4873, allocations: 44.22 kB / 0.6242 GB, free: 31.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001839/0.4891, allocations: 0.6935 MB / 0.6249 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.4931, allocations: 1.462 MB / 0.6263 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.4962, allocations: 1.295 MB / 0.6276 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.4995, allocations: 2.894 MB / 0.6304 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.5007, allocations: 0.9247 MB / 0.6313 GB, free: 28.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.5029, allocations: 1.131 MB / 0.6324 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009684/0.5039, allocations: 0.768 MB / 0.6332 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.5041, allocations: 100.5 kB / 0.6333 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.5057, allocations: 0.7978 MB / 0.634 GB, free: 26.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002617/0.506, allocations: 328.1 kB / 0.6344 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.5065, allocations: 0.576 MB / 0.6349 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.5087, allocations: 1.876 MB / 0.6368 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5087, allocations: 0 / 0.6368 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5087, allocations: 0 / 0.6368 GB, free: 25.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.5087, allocations: 0 / 0.6368 GB, free: 25.71 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.002239/0.511, allocations: 1.496 MB / 0.6382 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.511, allocations: 8.781 kB / 0.6382 GB, free: 24.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/0.512, allocations: 193.3 kB / 0.6384 GB, free: 24.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.5134, allocations: 0.9779 MB / 0.6394 GB, free: 24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.5135, allocations: 52.41 kB / 0.6394 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.312e-05/0.5136, allocations: 63.56 kB / 0.6395 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.5147, allocations: 0.7003 MB / 0.6402 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5147, allocations: 2.656 kB / 0.6402 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.5148, allocations: 28.47 kB / 0.6402 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.5148, allocations: 15.75 kB / 0.6402 GB, free: 23.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5158, allocations: 0.5138 MB / 0.6407 GB, free: 23.44 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.003373/0.5192, allocations: 3.096 MB / 0.6437 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008511/0.5201, allocations: 372.9 kB / 0.6441 GB, free: 21.15 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.5205, allocations: 194.9 kB / 0.6443 GB, free: 21.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.522, allocations: 1.49 MB / 0.6457 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.5225, allocations: 244.5 kB / 0.646 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.5225, allocations: 0 / 0.646 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.0013/0.5238, allocations: 0.54 MB / 0.6465 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.5238, allocations: 54.03 kB / 0.6465 GB, free: 19.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.5248, allocations: 0.9041 MB / 0.6474 GB, free: 19.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.074e-05/0.5249, allocations: 32.77 kB / 0.6475 GB, free: 18.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.5252, allocations: 497.9 kB / 0.6479 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.529e-05/0.5253, allocations: 101.4 kB / 0.648 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.5255, allocations: 123.5 kB / 0.6481 GB, free: 18.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.5255, allocations: 325.1 kB / 0.6485 GB, free: 18.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004359/0.526, allocations: 202.5 kB / 0.6486 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005095/0.5265, allocations: 406.8 kB / 0.649 GB, free: 17.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009557/0.5275, allocations: 0.5937 MB / 0.6496 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5275, allocations: 1.781 kB / 0.6496 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001399/0.5289, allocations: 0.7094 MB / 0.6503 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.5289, allocations: 34.11 kB / 0.6503 GB, free: 17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5289, allocations: 6.156 kB / 0.6503 GB, free: 17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.529, allocations: 8.375 kB / 0.6504 GB, free: 17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.5295, allocations: 124.8 kB / 0.6505 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/0.5295, allocations: 19.53 kB / 0.6505 GB, free: 16.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/0.5301, allocations: 85.44 kB / 0.6506 GB, free: 16.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.5302, allocations: 31.28 kB / 0.6506 GB, free: 16.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006159/0.5308, allocations: 392.3 kB / 0.651 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000458/0.5313, allocations: 384.2 kB / 0.6513 GB, free: 16.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000784/0.5321, allocations: 0.5449 MB / 0.6519 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.108e-06/0.5321, allocations: 1.719 kB / 0.6519 GB, free: 16.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001197/0.5333, allocations: 0.6679 MB / 0.6525 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.5333, allocations: 38.17 kB / 0.6526 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5333, allocations: 5.562 kB / 0.6526 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5333, allocations: 9.562 kB / 0.6526 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.5338, allocations: 122 kB / 0.6527 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.5338, allocations: 9.438 kB / 0.6527 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.5344, allocations: 59.58 kB / 0.6528 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.5344, allocations: 29.97 kB / 0.6528 GB, free: 15.63 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 (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.0001883/0.5346, allocations: 219.8 kB / 0.653 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.5347, allocations: 88.84 kB / 0.6531 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.5361, allocations: 0.579 MB / 0.6536 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.5361, allocations: 5.453 kB / 0.6537 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.5362, allocations: 4.547 kB / 0.6537 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009991/0.5372, allocations: 0.6427 MB / 0.6543 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.5395, allocations: 1.342 MB / 0.6556 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.5395, allocations: 7.016 kB / 0.6556 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.5399, allocations: 77.97 kB / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5399, allocations: 3.188 kB / 0.6557 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.5399, allocations: 11.09 kB / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.5399, allocations: 6.922 kB / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.54, allocations: 1.188 kB / 0.6557 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.5416, allocations: 0.8347 MB / 0.6565 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.5419, allocations: 224 kB / 0.6567 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.5421, allocations: 16.75 kB / 0.6567 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004357/0.5425, allocations: 19.72 kB / 0.6568 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5426, allocations: 39.45 kB / 0.6568 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/0.5427, allocations: 20.19 kB / 0.6568 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009298/0.5436, allocations: 0.6185 MB / 0.6574 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5436, allocations: 0 / 0.6574 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001568/0.5452, allocations: 0.5007 MB / 0.6579 GB, free: 12.93 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 (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.0008195/0.546, allocations: 387.5 kB / 0.6583 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.5481, allocations: 0.874 MB / 0.6591 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.5481, allocations: 1.344 kB / 0.6591 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005242/0.5486, allocations: 223.4 kB / 0.6594 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.5506, allocations: 0.4917 MB / 0.6598 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.5533, allocations: 1.622 MB / 0.6614 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.5539, allocations: 1.053 MB / 0.6624 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009703/0.5549, allocations: 222 kB / 0.6627 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.5551, allocations: 85.92 kB / 0.6627 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of SimCode: time 7.71e-07/0.5551, allocations: 4 kB / 0.6627 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.03247/0.5875, allocations: 20.01 MB / 0.6823 GB, free: 4.66 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)