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.001199/0.001199, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001648/0.001648, allocations: 194.3 kB / 16.14 MB, free: 6.711 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.097/1.097, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 60.86 kB / 0.5047 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.202, allocations: 80.93 MB / 0.5837 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.4077/0.6098, allocations: 30.4 MB / 0.6134 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.6211, allocations: 10.26 MB / 0.6234 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.6225, allocations: 45.53 kB / 0.6235 GB, free: 32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.6242, allocations: 0.6071 MB / 0.624 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003087/0.6273, allocations: 1.346 MB / 0.6254 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.63, allocations: 1.171 MB / 0.6265 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005015/0.6351, allocations: 3.84 MB / 0.6303 GB, free: 28.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.6366, allocations: 0.7907 MB / 0.631 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.6388, allocations: 0.9869 MB / 0.632 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.6398, allocations: 0.7862 MB / 0.6328 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.64, allocations: 47.31 kB / 0.6328 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.6416, allocations: 0.7484 MB / 0.6335 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.6419, allocations: 286.8 kB / 0.6338 GB, free: 27.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/0.6424, allocations: 0.5422 MB / 0.6343 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.6444, allocations: 1.834 MB / 0.6361 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6444, allocations: 6.375 kB / 0.6361 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6444, allocations: 0 / 0.6361 GB, free: 26.47 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.662e-05/0.6444, allocations: 0 / 0.6361 GB, free: 26.47 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.002154/0.6466, allocations: 1.492 MB / 0.6376 GB, free: 25.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.342e-05/0.6466, allocations: 16.84 kB / 0.6376 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/0.6476, allocations: 197.2 kB / 0.6378 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.6491, allocations: 1.006 MB / 0.6388 GB, free: 24.76 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.321e-05/0.6492, allocations: 52.81 kB / 0.6388 GB, free: 24.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.932e-05/0.6493, allocations: 64.47 kB / 0.6389 GB, free: 24.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.6504, allocations: 0.7037 MB / 0.6396 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.6505, allocations: 0 / 0.6396 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.6505, allocations: 28.5 kB / 0.6396 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.6506, allocations: 12.75 kB / 0.6396 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.6517, allocations: 0.5286 MB / 0.6401 GB, free: 24.2 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.003389/0.6551, allocations: 3.068 MB / 0.6431 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008697/0.6559, allocations: 388.1 kB / 0.6435 GB, free: 21.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.6563, allocations: 192.1 kB / 0.6437 GB, free: 21.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/0.6578, allocations: 1.495 MB / 0.6451 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/0.6584, allocations: 250.3 kB / 0.6454 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002009/0.6586, allocations: 48.36 kB / 0.6454 GB, free: 20.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/0.6586, allocations: 3.984 kB / 0.6454 GB, free: 20.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.00128/0.6599, allocations: 0.5506 MB / 0.646 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.6599, allocations: 57.16 kB / 0.646 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008879/0.6608, allocations: 0.89 MB / 0.6469 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.6608, allocations: 36.64 kB / 0.6469 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/0.6611, allocations: 491.2 kB / 0.6474 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.861e-05/0.6612, allocations: 114.8 kB / 0.6475 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.6614, allocations: 130.2 kB / 0.6476 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.6615, allocations: 325.4 kB / 0.6479 GB, free: 18.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.6619, allocations: 200.8 kB / 0.6481 GB, free: 18.81 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.6625, allocations: 403 kB / 0.6485 GB, free: 18.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009824/0.6635, allocations: 0.6036 MB / 0.6491 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.6635, allocations: 1.281 kB / 0.6491 GB, free: 18.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001369/0.6649, allocations: 0.7085 MB / 0.6498 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.665, allocations: 46.53 kB / 0.6498 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.665, allocations: 10.12 kB / 0.6498 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.665, allocations: 9.156 kB / 0.6499 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.6655, allocations: 126.4 kB / 0.65 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.6655, allocations: 15.69 kB / 0.65 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.6662, allocations: 52.25 kB / 0.65 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.6663, allocations: 30.97 kB / 0.6501 GB, free: 17.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006846/0.667, allocations: 399.1 kB / 0.6505 GB, free: 17.49 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000494/0.6675, allocations: 385.9 kB / 0.6508 GB, free: 17.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008099/0.6683, allocations: 0.5462 MB / 0.6514 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.6683, allocations: 1.406 kB / 0.6514 GB, free: 16.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001236/0.6695, allocations: 0.6631 MB / 0.652 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.6696, allocations: 40.08 kB / 0.652 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.6696, allocations: 5.75 kB / 0.652 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6696, allocations: 8.188 kB / 0.6521 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.6701, allocations: 121.9 kB / 0.6522 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.6701, allocations: 14.09 kB / 0.6522 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.6707, allocations: 55.98 kB / 0.6522 GB, free: 16.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.6708, allocations: 29.08 kB / 0.6523 GB, free: 16.4 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.0001705/0.6709, allocations: 224.7 kB / 0.6525 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6711, allocations: 90.48 kB / 0.6526 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.6726, allocations: 0.5805 MB / 0.6531 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.6726, allocations: 5 kB / 0.6531 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6726, allocations: 4.875 kB / 0.6531 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.6736, allocations: 0.6504 MB / 0.6538 GB, free: 15.45 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.0026/0.6763, allocations: 1.42 MB / 0.6552 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6763, allocations: 5.062 kB / 0.6552 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/0.6767, allocations: 74.81 kB / 0.6552 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.6767, allocations: 3.891 kB / 0.6552 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/0.6767, allocations: 15.41 kB / 0.6553 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.6768, allocations: 4.375 kB / 0.6553 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.6768, allocations: 1.609 kB / 0.6553 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.6784, allocations: 0.8454 MB / 0.6561 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.6787, allocations: 216.5 kB / 0.6563 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.6788, allocations: 12.52 kB / 0.6563 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.6793, allocations: 40.69 kB / 0.6563 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.6794, allocations: 30.39 kB / 0.6564 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.6794, allocations: 21.16 kB / 0.6564 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008062/0.6802, allocations: 0.6084 MB / 0.657 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6802, allocations: 0 / 0.657 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00158/0.6818, allocations: 0.5036 MB / 0.6575 GB, free: 13.64 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.0008561/0.6827, allocations: 365.2 kB / 0.6578 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.6846, allocations: 0.8584 MB / 0.6587 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6847, allocations: 1.094 kB / 0.6587 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005657/0.6852, allocations: 223.6 kB / 0.6589 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.6875, allocations: 487.9 kB / 0.6593 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.6906, allocations: 1.94 MB / 0.6612 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.6913, allocations: 1.057 MB / 0.6623 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001184/0.6925, allocations: 223 kB / 0.6625 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.6927, allocations: 86.78 kB / 0.6626 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of SimCode: time 6.91e-07/0.6927, allocations: 0 / 0.6626 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.04056/0.7333, allocations: 19.21 MB / 0.6813 GB, free: 5.449 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)