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.0008938/0.000894, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00751/0.00751, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9729/0.9729, allocations: 135.3 MB / 426.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 8 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1908, allocations: 82.32 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.3814/0.5723, allocations: 29.62 MB / 0.6169 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.5865, allocations: 10.14 MB / 0.6268 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.5886, allocations: 38.91 kB / 0.6268 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.5907, allocations: 0.5979 MB / 0.6274 GB, free: 31.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004213/0.595, allocations: 1.358 MB / 0.6287 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/0.5979, allocations: 1.169 MB / 0.6299 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004278/0.6022, allocations: 3.842 MB / 0.6336 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.6034, allocations: 0.758 MB / 0.6344 GB, free: 28.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.6052, allocations: 0.959 MB / 0.6353 GB, free: 27.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.6063, allocations: 0.7537 MB / 0.6361 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.776e-05/0.6064, allocations: 38.75 kB / 0.6361 GB, free: 27.55 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.6083, allocations: 0.7417 MB / 0.6368 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002966/0.6086, allocations: 271.7 kB / 0.6371 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005085/0.6092, allocations: 0.5369 MB / 0.6376 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.6111, allocations: 1.802 MB / 0.6394 GB, free: 26.33 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6111, allocations: 0 / 0.6394 GB, free: 26.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6111, allocations: 0 / 0.6394 GB, free: 26.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.6111, allocations: 0 / 0.6394 GB, free: 26.33 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.001924/0.613, allocations: 1.292 MB / 0.6406 GB, free: 25.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.6131, allocations: 12.94 kB / 0.6406 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009275/0.614, allocations: 215.4 kB / 0.6408 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.6155, allocations: 0.997 MB / 0.6418 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.6156, allocations: 55.88 kB / 0.6419 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-05/0.6157, allocations: 65.31 kB / 0.6419 GB, free: 24.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.6168, allocations: 0.7121 MB / 0.6426 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.6168, allocations: 0 / 0.6426 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.6169, allocations: 25.27 kB / 0.6426 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.6169, allocations: 16.41 kB / 0.6427 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.6179, allocations: 0.5396 MB / 0.6432 GB, free: 24.17 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.003261/0.6212, allocations: 3.08 MB / 0.6462 GB, free: 22.04 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/0.6221, allocations: 401.4 kB / 0.6466 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.6225, allocations: 206 kB / 0.6468 GB, free: 21.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/0.624, allocations: 1.503 MB / 0.6482 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/0.6245, allocations: 247.4 kB / 0.6485 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001987/0.6247, allocations: 57.27 kB / 0.6485 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.003e-06/0.6247, allocations: 0 / 0.6485 GB, free: 20.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.001293/0.626, allocations: 0.568 MB / 0.6491 GB, free: 20.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.6261, allocations: 54.03 kB / 0.6491 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.6271, allocations: 0.8958 MB / 0.65 GB, free: 19.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.6272, allocations: 32.39 kB / 0.65 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.6275, allocations: 492.5 kB / 0.6505 GB, free: 19.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.44e-05/0.6276, allocations: 118.6 kB / 0.6506 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.6276, allocations: 50.44 kB / 0.6507 GB, free: 19.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.6277, allocations: 326.8 kB / 0.651 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.6281, allocations: 202.8 kB / 0.6512 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.6287, allocations: 407 kB / 0.6516 GB, free: 18.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/0.6297, allocations: 0.6129 MB / 0.6522 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6297, allocations: 1.406 kB / 0.6522 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001368/0.6311, allocations: 0.7247 MB / 0.6529 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/0.6312, allocations: 286.6 kB / 0.6531 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6313, allocations: 10 kB / 0.6532 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.6313, allocations: 8.344 kB / 0.6532 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.6318, allocations: 134.2 kB / 0.6533 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.6318, allocations: 15.41 kB / 0.6533 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006203/0.6324, allocations: 54.58 kB / 0.6534 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.6325, allocations: 34.36 kB / 0.6534 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.6325, allocations: 3.625 kB / 0.6534 GB, free: 17.36 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/0.6336, allocations: 0.5702 MB / 0.654 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6336, allocations: 6.25 kB / 0.654 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-06/0.6337, allocations: 13.97 kB / 0.654 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.6341, allocations: 122.5 kB / 0.6541 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.6341, allocations: 16.67 kB / 0.6541 GB, free: 17.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.6347, allocations: 60.77 kB / 0.6542 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.354e-05/0.6347, allocations: 30.52 kB / 0.6542 GB, free: 17.09 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 (64): * Single equations (assignments): 62 * 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.000464/0.6352, allocations: 358.7 kB / 0.6545 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.6353, allocations: 89.75 kB / 0.6546 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.6367, allocations: 0.5928 MB / 0.6552 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.6368, allocations: 6.656 kB / 0.6552 GB, free: 16.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.6368, allocations: 7.938 kB / 0.6552 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.6378, allocations: 0.6604 MB / 0.6559 GB, free: 16.06 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.002635/0.6405, allocations: 1.431 MB / 0.6573 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6405, allocations: 0.625 kB / 0.6573 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.6409, allocations: 82.48 kB / 0.6573 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/0.6409, allocations: 6.156 kB / 0.6573 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.641, allocations: 16.5 kB / 0.6574 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.641, allocations: 5.781 kB / 0.6574 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.641, allocations: 2.312 kB / 0.6574 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.6427, allocations: 0.8617 MB / 0.6582 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.643, allocations: 222.6 kB / 0.6584 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6431, allocations: 8.328 kB / 0.6584 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.6437, allocations: 45.89 kB / 0.6585 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.6438, allocations: 31.2 kB / 0.6585 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.6438, allocations: 20.2 kB / 0.6585 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008854/0.6447, allocations: 0.6096 MB / 0.6591 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6447, allocations: 3.938 kB / 0.6591 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001624/0.6464, allocations: 0.5004 MB / 0.6596 GB, free: 14.23 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 (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.0008684/0.6473, allocations: 368.2 kB / 0.66 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.6491, allocations: 0.8685 MB / 0.6608 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6491, allocations: 0 / 0.6608 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.6496, allocations: 235.5 kB / 0.661 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.652, allocations: 479.3 kB / 0.6615 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.6548, allocations: 1.983 MB / 0.6634 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.6554, allocations: 1.045 MB / 0.6644 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009691/0.6564, allocations: 225.2 kB / 0.6647 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.6566, allocations: 81.66 kB / 0.6647 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of SimCode: time 1.293e-06/0.6566, allocations: 5 kB / 0.6647 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.03695/0.6936, allocations: 19.11 MB / 0.6834 GB, free: 5.945 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)