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.001146/0.001146, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001537/0.001537, allocations: 168.7 kB / 15.95 MB, free: 204 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.308/1.308, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7813/0.7813, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 8.906 kB / 0.5034 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02694/0.3691, allocations: 28.05 MB / 0.6105 GB, free: 15.51 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.3815, allocations: 9.536 MB / 0.6198 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.3825, allocations: 37.53 kB / 0.6198 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.3838, allocations: 467.5 kB / 0.6203 GB, free: 7.445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.3863, allocations: 1.203 MB / 0.6214 GB, free: 6.508 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002323/0.3886, allocations: 0.9789 MB / 0.6224 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003402/0.3921, allocations: 3.256 MB / 0.6256 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009394/0.393, allocations: 0.696 MB / 0.6263 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.3945, allocations: 0.9333 MB / 0.6272 GB, free: 3.016 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009096/0.3954, allocations: 0.7306 MB / 0.6279 GB, free: 2.594 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.3955, allocations: 38.41 kB / 0.6279 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.3967, allocations: 0.5305 MB / 0.6284 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.397, allocations: 263 kB / 0.6287 GB, free: 1.797 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.3973, allocations: 237.1 kB / 0.6289 GB, free: 1.559 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3985, allocations: 1.364 MB / 0.6302 GB, free: 196 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3985, allocations: 7.938 kB / 0.6302 GB, free: 188 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3986, allocations: 0 / 0.6302 GB, free: 188 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.035e-05/0.3986, allocations: 0 / 0.6302 GB, free: 188 kB / 462.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.001992/0.4006, allocations: 1.318 MB / 0.6315 GB, free: 14.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.4006, allocations: 8.031 kB / 0.6315 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008854/0.4015, allocations: 206.4 kB / 0.6317 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.403, allocations: 0.9565 MB / 0.6327 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.574e-05/0.4031, allocations: 53.31 kB / 0.6327 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.4032, allocations: 68 kB / 0.6328 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.4045, allocations: 0.7207 MB / 0.6335 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.4045, allocations: 0 / 0.6335 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.4046, allocations: 32 kB / 0.6335 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.4046, allocations: 16 kB / 0.6335 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.4059, allocations: 0.5672 MB / 0.6341 GB, free: 12.11 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.003775/0.4097, allocations: 3.136 MB / 0.6372 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.4108, allocations: 437.3 kB / 0.6376 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.4113, allocations: 213.3 kB / 0.6378 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.4131, allocations: 1.529 MB / 0.6393 GB, free: 6.441 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006112/0.4137, allocations: 275 kB / 0.6395 GB, free: 6.16 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001928/0.4139, allocations: 55.52 kB / 0.6396 GB, free: 6.105 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.914e-06/0.4139, allocations: 0 / 0.6396 GB, free: 6.105 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.001545/0.4155, allocations: 0.6077 MB / 0.6402 GB, free: 5.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4155, allocations: 63.39 kB / 0.6402 GB, free: 5.418 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4165, allocations: 0.8877 MB / 0.6411 GB, free: 4.508 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.4166, allocations: 41.64 kB / 0.6411 GB, free: 4.461 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.417, allocations: 491.7 kB / 0.6416 GB, free: 3.973 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.4171, allocations: 106.5 kB / 0.6417 GB, free: 3.867 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.4171, allocations: 12 kB / 0.6417 GB, free: 3.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4172, allocations: 326 kB / 0.642 GB, free: 3.531 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.4177, allocations: 205 kB / 0.6422 GB, free: 3.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.4184, allocations: 411.6 kB / 0.6426 GB, free: 2.844 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005639/0.419, allocations: 283.7 kB / 0.6429 GB, free: 2.562 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.419, allocations: 0 / 0.6429 GB, free: 2.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001419/0.4204, allocations: 0.7257 MB / 0.6436 GB, free: 1.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.4206, allocations: 284.4 kB / 0.6439 GB, free: 1.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4206, allocations: 7.984 kB / 0.6439 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4206, allocations: 16 kB / 0.6439 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005329/0.4212, allocations: 147.7 kB / 0.644 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.4212, allocations: 11.94 kB / 0.6441 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.4218, allocations: 72.44 kB / 0.6441 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.4219, allocations: 31.98 kB / 0.6442 GB, free: 1.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/0.4219, allocations: 4 kB / 0.6442 GB, free: 1.172 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001015/0.4229, allocations: 0.5718 MB / 0.6447 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4229, allocations: 7.938 kB / 0.6447 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.423, allocations: 8 kB / 0.6447 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.4234, allocations: 132.1 kB / 0.6449 GB, free: 460 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.4234, allocations: 8 kB / 0.6449 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.4239, allocations: 52.61 kB / 0.6449 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/0.424, allocations: 32 kB / 0.6449 GB, free: 368 kB / 478.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 ($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.0003641/0.4244, allocations: 369 kB / 0.6453 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.86e-05/0.4245, allocations: 86.88 kB / 0.6454 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.4259, allocations: 0.634 MB / 0.646 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.4259, allocations: 4 kB / 0.646 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4259, allocations: 3.938 kB / 0.646 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/0.427, allocations: 0.6866 MB / 0.6467 GB, free: 14.5 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.002192/0.4292, allocations: 1.485 MB / 0.6481 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4292, allocations: 4.125 kB / 0.6481 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.4296, allocations: 91.81 kB / 0.6482 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4296, allocations: 4 kB / 0.6482 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.4297, allocations: 11.98 kB / 0.6482 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.4297, allocations: 4 kB / 0.6482 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4297, allocations: 0 / 0.6482 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.4314, allocations: 0.9136 MB / 0.6491 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.4316, allocations: 223.8 kB / 0.6493 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.4318, allocations: 12 kB / 0.6494 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.4323, allocations: 59.92 kB / 0.6494 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.4324, allocations: 35.91 kB / 0.6494 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.4324, allocations: 15.98 kB / 0.6495 GB, free: 11.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007066/0.4331, allocations: 0.614 MB / 0.6501 GB, free: 10.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4332, allocations: 0 / 0.6501 GB, free: 10.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4344, allocations: 0.5107 MB / 0.6506 GB, free: 10.39 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 (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.0006461/0.4351, allocations: 348.5 kB / 0.6509 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.4368, allocations: 0.8832 MB / 0.6518 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4368, allocations: 0.6875 kB / 0.6518 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005474/0.4373, allocations: 255.5 kB / 0.652 GB, free: 8.891 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.4392, allocations: 481.2 kB / 0.6525 GB, free: 8.426 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002683/0.4419, allocations: 1.999 MB / 0.6544 GB, free: 6.379 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.4425, allocations: 1.052 MB / 0.6554 GB, free: 5.293 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008086/0.4433, allocations: 222.6 kB / 0.6556 GB, free: 5.074 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.4435, allocations: 91.39 kB / 0.6557 GB, free: 4.984 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4435, allocations: 0 / 0.6557 GB, free: 4.984 MB / 494.1 MB Notification: Performance of Templates: time 0.02783/0.4713, allocations: 18.98 MB / 0.6743 GB, free: 2.309 MB / 0.4981 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)