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.001484/0.001484, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001402/0.001402, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7949/0.7949, allocations: 135.2 MB / 426.2 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 64.14 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3342, allocations: 80.92 MB / 0.5851 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02476/0.359, allocations: 30.57 MB / 0.6149 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01552/0.3746, allocations: 10.22 MB / 0.6249 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.3761, allocations: 43.75 kB / 0.6249 GB, free: 1.621 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002171/0.3783, allocations: 0.6894 MB / 0.6256 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003791/0.3821, allocations: 1.454 MB / 0.627 GB, free: 15.47 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.3853, allocations: 1.296 MB / 0.6283 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00402/0.3894, allocations: 2.891 MB / 0.6311 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.391, allocations: 0.9332 MB / 0.632 GB, free: 10.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.394, allocations: 1.124 MB / 0.6331 GB, free: 9.219 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.3957, allocations: 0.7739 MB / 0.6339 GB, free: 8.441 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003232/0.3961, allocations: 100 kB / 0.634 GB, free: 8.344 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.3981, allocations: 0.7957 MB / 0.6347 GB, free: 7.547 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005001/0.3986, allocations: 334.9 kB / 0.6351 GB, free: 7.219 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008784/0.3995, allocations: 0.5754 MB / 0.6356 GB, free: 6.641 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.4024, allocations: 1.866 MB / 0.6375 GB, free: 4.77 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4024, allocations: 0 / 0.6375 GB, free: 4.77 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4024, allocations: 0 / 0.6375 GB, free: 4.77 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.343e-05/0.4025, allocations: 0 / 0.6375 GB, free: 4.77 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.002709/0.4052, allocations: 1.493 MB / 0.6389 GB, free: 3.215 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4052, allocations: 13.11 kB / 0.6389 GB, free: 3.203 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/0.4062, allocations: 203.3 kB / 0.6391 GB, free: 3.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/0.4079, allocations: 0.9723 MB / 0.6401 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.214e-05/0.408, allocations: 53.25 kB / 0.6401 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.4081, allocations: 64 kB / 0.6402 GB, free: 1.875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.4094, allocations: 0.7021 MB / 0.6409 GB, free: 1.145 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.4094, allocations: 7.844 kB / 0.6409 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.333e-05/0.4095, allocations: 24 kB / 0.6409 GB, free: 1.113 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4095, allocations: 12 kB / 0.6409 GB, free: 1.102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.4107, allocations: 0.5204 MB / 0.6414 GB, free: 0.582 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.004165/0.4149, allocations: 3.098 MB / 0.6444 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/0.4158, allocations: 374.2 kB / 0.6448 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.4162, allocations: 184.8 kB / 0.645 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001909/0.4182, allocations: 1.493 MB / 0.6464 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005569/0.4187, allocations: 244.7 kB / 0.6467 GB, free: 10.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 1.983e-06/0.4187, allocations: 0 / 0.6467 GB, free: 10.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001424/0.4202, allocations: 0.5393 MB / 0.6472 GB, free: 10.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4202, allocations: 59.34 kB / 0.6472 GB, free: 10.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.4214, allocations: 0.8995 MB / 0.6481 GB, free: 9.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.4215, allocations: 33.7 kB / 0.6482 GB, free: 9.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.4219, allocations: 491.7 kB / 0.6486 GB, free: 8.762 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.422, allocations: 110.5 kB / 0.6487 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.4222, allocations: 118.1 kB / 0.6488 GB, free: 8.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4224, allocations: 330 kB / 0.6492 GB, free: 8.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.4229, allocations: 195 kB / 0.6493 GB, free: 8.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.4235, allocations: 402.3 kB / 0.6497 GB, free: 7.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4247, allocations: 0.6022 MB / 0.6503 GB, free: 6.844 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-06/0.4247, allocations: 4 kB / 0.6503 GB, free: 6.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00143/0.4261, allocations: 0.7104 MB / 0.651 GB, free: 6.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.4262, allocations: 33.7 kB / 0.651 GB, free: 6.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.4262, allocations: 4 kB / 0.651 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/0.4262, allocations: 15.94 kB / 0.6511 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.4267, allocations: 131.7 kB / 0.6512 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.4267, allocations: 8 kB / 0.6512 GB, free: 5.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005402/0.4273, allocations: 84.03 kB / 0.6513 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.4273, allocations: 28 kB / 0.6513 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006719/0.428, allocations: 401.1 kB / 0.6517 GB, free: 5.418 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005597/0.4286, allocations: 374.3 kB / 0.652 GB, free: 4.961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000904/0.4295, allocations: 0.5463 MB / 0.6526 GB, free: 4.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.4295, allocations: 0 / 0.6526 GB, free: 4.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001217/0.4307, allocations: 0.6543 MB / 0.6532 GB, free: 3.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.4308, allocations: 37.69 kB / 0.6533 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4308, allocations: 8 kB / 0.6533 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.4308, allocations: 19.86 kB / 0.6533 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.4312, allocations: 119.8 kB / 0.6534 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.4313, allocations: 11.94 kB / 0.6534 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.4318, allocations: 60.44 kB / 0.6535 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/0.4318, allocations: 32 kB / 0.6535 GB, free: 3.371 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.000194/0.432, allocations: 213 kB / 0.6537 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.4321, allocations: 86.88 kB / 0.6538 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.4335, allocations: 0.5828 MB / 0.6543 GB, free: 2.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.4335, allocations: 7.938 kB / 0.6544 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4336, allocations: 0 / 0.6544 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.4346, allocations: 0.6465 MB / 0.655 GB, free: 1.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.4369, allocations: 1.36 MB / 0.6563 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.4369, allocations: 4 kB / 0.6563 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.4373, allocations: 75.88 kB / 0.6564 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4373, allocations: 4 kB / 0.6564 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/0.4373, allocations: 11.98 kB / 0.6564 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4373, allocations: 7.938 kB / 0.6564 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4373, allocations: 3.938 kB / 0.6564 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.4389, allocations: 0.8352 MB / 0.6572 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002854/0.4392, allocations: 219.7 kB / 0.6574 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.4393, allocations: 8 kB / 0.6575 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.4397, allocations: 19.98 kB / 0.6575 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.4398, allocations: 48.17 kB / 0.6575 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.4399, allocations: 15.98 kB / 0.6575 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008095/0.4407, allocations: 0.618 MB / 0.6581 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4407, allocations: 0 / 0.6581 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001355/0.4421, allocations: 0.5029 MB / 0.6586 GB, free: 13.91 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.0007878/0.4429, allocations: 380.2 kB / 0.659 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.4447, allocations: 0.8794 MB / 0.6598 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4447, allocations: 0 / 0.6598 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004822/0.4452, allocations: 223.6 kB / 0.6601 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.4471, allocations: 488.8 kB / 0.6605 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.4498, allocations: 1.68 MB / 0.6622 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/0.4505, allocations: 1.044 MB / 0.6632 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.4507, allocations: 83.41 kB / 0.6633 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4507, allocations: 0 / 0.6633 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of Templates: time 0.02543/0.4762, allocations: 17.55 MB / 0.6804 GB, free: 7.703 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.pipe 2>&1)