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.001255/0.001255, allocations: 108 kB / 16.37 MB, free: 6.477 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.001212/0.001212, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7577/0.7577, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 55.91 kB / 0.5067 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02205/0.3615, allocations: 30.58 MB / 0.6156 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01359/0.3751, allocations: 10.21 MB / 0.6256 GB, free: 1.703 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.3769, allocations: 43.75 kB / 0.6256 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.379, allocations: 0.6971 MB / 0.6263 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.3827, allocations: 1.454 MB / 0.6277 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.3856, allocations: 1.306 MB / 0.629 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003772/0.3894, allocations: 2.879 MB / 0.6318 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.3908, allocations: 0.9332 MB / 0.6327 GB, free: 10.38 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.3934, allocations: 1.143 MB / 0.6339 GB, free: 9.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.3947, allocations: 0.7661 MB / 0.6346 GB, free: 8.461 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.395, allocations: 96 kB / 0.6347 GB, free: 8.367 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.3968, allocations: 0.7997 MB / 0.6355 GB, free: 7.566 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003512/0.3971, allocations: 334.9 kB / 0.6358 GB, free: 7.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006345/0.3978, allocations: 0.5792 MB / 0.6364 GB, free: 6.656 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002495/0.4003, allocations: 1.904 MB / 0.6382 GB, free: 4.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4003, allocations: 0 / 0.6382 GB, free: 4.75 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4003, allocations: 0 / 0.6382 GB, free: 4.75 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.4003, allocations: 0 / 0.6382 GB, free: 4.75 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.00227/0.4026, allocations: 1.485 MB / 0.6397 GB, free: 3.203 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4027, allocations: 9.109 kB / 0.6397 GB, free: 3.195 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.4036, allocations: 195.4 kB / 0.6399 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.4053, allocations: 1.019 MB / 0.6409 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.4054, allocations: 49.31 kB / 0.6409 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/0.4055, allocations: 64 kB / 0.641 GB, free: 1.832 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.4067, allocations: 0.702 MB / 0.6417 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.4067, allocations: 3.906 kB / 0.6417 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/0.4068, allocations: 28 kB / 0.6417 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.4068, allocations: 23.98 kB / 0.6417 GB, free: 1.047 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.4079, allocations: 0.5164 MB / 0.6422 GB, free: 0.5312 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.003733/0.4116, allocations: 3.063 MB / 0.6452 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/0.4125, allocations: 395.7 kB / 0.6456 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.413, allocations: 182 kB / 0.6458 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/0.4147, allocations: 1.489 MB / 0.6472 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/0.4152, allocations: 235.5 kB / 0.6474 GB, free: 10.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/0.4153, allocations: 0 / 0.6474 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001373/0.4166, allocations: 0.5432 MB / 0.648 GB, free: 10.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4167, allocations: 59.34 kB / 0.648 GB, free: 10.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.4178, allocations: 0.8956 MB / 0.6489 GB, free: 9.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.4178, allocations: 37.64 kB / 0.6489 GB, free: 9.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.4182, allocations: 499.7 kB / 0.6494 GB, free: 8.727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.4183, allocations: 106.5 kB / 0.6495 GB, free: 8.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.4185, allocations: 118.1 kB / 0.6496 GB, free: 8.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.4186, allocations: 330 kB / 0.6499 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.4191, allocations: 199 kB / 0.6501 GB, free: 7.973 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/0.4197, allocations: 398.4 kB / 0.6505 GB, free: 7.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.4207, allocations: 0.5906 MB / 0.6511 GB, free: 6.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4207, allocations: 3.938 kB / 0.6511 GB, free: 6.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001352/0.422, allocations: 0.7105 MB / 0.6518 GB, free: 6.094 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.4221, allocations: 33.7 kB / 0.6518 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.4221, allocations: 8 kB / 0.6518 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4221, allocations: 15.92 kB / 0.6518 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.4226, allocations: 123.8 kB / 0.6519 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.331e-05/0.4227, allocations: 23.94 kB / 0.652 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.4233, allocations: 84.19 kB / 0.6521 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.4234, allocations: 31.98 kB / 0.6521 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006361/0.424, allocations: 394 kB / 0.6525 GB, free: 5.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005189/0.4245, allocations: 374.4 kB / 0.6528 GB, free: 4.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008168/0.4254, allocations: 0.5463 MB / 0.6533 GB, free: 4.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.28e-06/0.4254, allocations: 4 kB / 0.6534 GB, free: 4.293 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001178/0.4266, allocations: 0.6542 MB / 0.654 GB, free: 3.625 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.4266, allocations: 40.03 kB / 0.654 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.4266, allocations: 4 kB / 0.654 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4266, allocations: 8 kB / 0.654 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.4271, allocations: 119.8 kB / 0.6542 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4271, allocations: 11.94 kB / 0.6542 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.4276, allocations: 68.47 kB / 0.6542 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.4277, allocations: 27.98 kB / 0.6543 GB, free: 3.344 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.0001811/0.4279, allocations: 212.1 kB / 0.6545 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.428, allocations: 90.88 kB / 0.6545 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.4293, allocations: 0.5798 MB / 0.6551 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.4293, allocations: 4 kB / 0.6551 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.4293, allocations: 3.938 kB / 0.6551 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009483/0.4303, allocations: 0.6504 MB / 0.6558 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.4325, allocations: 1.364 MB / 0.6571 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4325, allocations: 0 / 0.6571 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/0.4329, allocations: 79.88 kB / 0.6572 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.4329, allocations: 0 / 0.6572 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.545e-05/0.4329, allocations: 19.97 kB / 0.6572 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4329, allocations: 0 / 0.6572 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4329, allocations: 4 kB / 0.6572 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.4344, allocations: 0.8353 MB / 0.658 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.4348, allocations: 219.8 kB / 0.6582 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.4349, allocations: 12 kB / 0.6582 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.4354, allocations: 19.92 kB / 0.6582 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.4355, allocations: 32.23 kB / 0.6583 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.4355, allocations: 24.05 kB / 0.6583 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000813/0.4364, allocations: 0.618 MB / 0.6589 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4364, allocations: 0 / 0.6589 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001413/0.4378, allocations: 0.499 MB / 0.6594 GB, free: 13.88 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.0008773/0.4387, allocations: 370.3 kB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.4405, allocations: 0.8563 MB / 0.6606 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4405, allocations: 4.062 kB / 0.6606 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004764/0.441, allocations: 215.8 kB / 0.6608 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.4429, allocations: 0.5005 MB / 0.6613 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.4467, allocations: 1.592 MB / 0.6628 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009229/0.4476, allocations: 1.052 MB / 0.6639 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001107/0.4487, allocations: 230.6 kB / 0.6641 GB, free: 9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002755/0.449, allocations: 83.41 kB / 0.6642 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.449, allocations: 0 / 0.6642 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of Templates: time 0.0353/0.4843, allocations: 20.01 MB / 0.6837 GB, free: 5.184 MB / 0.5137 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)