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.00573/0.00573, allocations: 101 kB / 15.73 MB, free: 5.996 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.001232/0.001232, allocations: 185.3 kB / 16.67 MB, free: 5.93 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9571/0.9571, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 55.91 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4338, allocations: 80.93 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02922/0.4631, allocations: 30.57 MB / 0.6945 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.4798, allocations: 10.22 MB / 0.7045 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.4821, allocations: 44.62 kB / 0.7045 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.4843, allocations: 0.6957 MB / 0.7052 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004027/0.4884, allocations: 1.452 MB / 0.7066 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.4917, allocations: 1.31 MB / 0.7079 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00421/0.4959, allocations: 2.886 MB / 0.7107 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.4972, allocations: 0.9254 MB / 0.7116 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/0.4997, allocations: 1.131 MB / 0.7127 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.5007, allocations: 0.7817 MB / 0.7135 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.5009, allocations: 96 kB / 0.7136 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.5028, allocations: 0.7957 MB / 0.7143 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.5032, allocations: 327 kB / 0.7147 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006366/0.5038, allocations: 0.5831 MB / 0.7152 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.5066, allocations: 1.903 MB / 0.7171 GB, free: 11.78 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5067, allocations: 0 / 0.7171 GB, free: 11.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5067, allocations: 0 / 0.7171 GB, free: 11.78 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.84e-05/0.5067, allocations: 4 kB / 0.7171 GB, free: 11.77 MB / 0.545 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.002421/0.5091, allocations: 1.534 MB / 0.7186 GB, free: 10.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.5092, allocations: 8.031 kB / 0.7186 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009733/0.5101, allocations: 208 kB / 0.7188 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.5119, allocations: 1.016 MB / 0.7198 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.841e-05/0.5119, allocations: 49.3 kB / 0.7198 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.5121, allocations: 67.95 kB / 0.7199 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.5134, allocations: 0.7059 MB / 0.7206 GB, free: 8.059 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.5134, allocations: 3.938 kB / 0.7206 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/0.5135, allocations: 24 kB / 0.7206 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.5135, allocations: 16 kB / 0.7206 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.5147, allocations: 0.5242 MB / 0.7211 GB, free: 7.492 MB / 0.545 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.004034/0.5188, allocations: 3.079 MB / 0.7241 GB, free: 4.234 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000945/0.5197, allocations: 374.7 kB / 0.7245 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.5202, allocations: 184.8 kB / 0.7247 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.5219, allocations: 1.493 MB / 0.7261 GB, free: 2.008 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005997/0.5225, allocations: 243.5 kB / 0.7264 GB, free: 1.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.5226, allocations: 0 / 0.7264 GB, free: 1.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.001401/0.524, allocations: 0.5359 MB / 0.7269 GB, free: 1.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.524, allocations: 59.34 kB / 0.727 GB, free: 1.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.5253, allocations: 0.9073 MB / 0.7278 GB, free: 220 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.362e-05/0.5254, allocations: 33.64 kB / 0.7279 GB, free: 180 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.5259, allocations: 0.4887 MB / 0.7283 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.526, allocations: 115 kB / 0.7285 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.5263, allocations: 126.1 kB / 0.7286 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5264, allocations: 326 kB / 0.7289 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.5269, allocations: 195 kB / 0.7291 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.5276, allocations: 406.1 kB / 0.7295 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.5288, allocations: 0.5951 MB / 0.73 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.5288, allocations: 4 kB / 0.73 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001414/0.5302, allocations: 0.7076 MB / 0.7307 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.5303, allocations: 37.69 kB / 0.7308 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5303, allocations: 8.031 kB / 0.7308 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.5303, allocations: 16 kB / 0.7308 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.5308, allocations: 127.7 kB / 0.7309 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.5308, allocations: 11.94 kB / 0.7309 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.5314, allocations: 80.19 kB / 0.731 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.5315, allocations: 31.98 kB / 0.731 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006314/0.5321, allocations: 397.1 kB / 0.7314 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005257/0.5327, allocations: 370.9 kB / 0.7318 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008727/0.5335, allocations: 0.5502 MB / 0.7323 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.5336, allocations: 0 / 0.7323 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001201/0.5348, allocations: 0.6625 MB / 0.733 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.5348, allocations: 33.7 kB / 0.733 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.5348, allocations: 12.06 kB / 0.733 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/0.5348, allocations: 8 kB / 0.733 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.5353, allocations: 119.8 kB / 0.7331 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.5353, allocations: 19.86 kB / 0.7331 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.5358, allocations: 52.38 kB / 0.7332 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.5359, allocations: 35.92 kB / 0.7332 GB, free: 10.29 MB / 0.5606 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 (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.0001717/0.536, allocations: 221.6 kB / 0.7334 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.5362, allocations: 91.39 kB / 0.7335 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/0.5375, allocations: 0.58 MB / 0.7341 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.5375, allocations: 11.92 kB / 0.7341 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5375, allocations: 0 / 0.7341 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/0.5386, allocations: 0.6504 MB / 0.7347 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002149/0.5407, allocations: 1.36 MB / 0.7361 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.5408, allocations: 4 kB / 0.7361 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.5411, allocations: 76 kB / 0.7361 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.5412, allocations: 8 kB / 0.7361 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/0.5412, allocations: 11.98 kB / 0.7362 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5412, allocations: 4 kB / 0.7362 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5412, allocations: 0 / 0.7362 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5428, allocations: 0.8322 MB / 0.737 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.5431, allocations: 224.4 kB / 0.7372 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5432, allocations: 16 kB / 0.7372 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/0.5436, allocations: 19.98 kB / 0.7372 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.5437, allocations: 32.23 kB / 0.7373 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.5438, allocations: 19.98 kB / 0.7373 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007578/0.5445, allocations: 0.6219 MB / 0.7379 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5445, allocations: 0 / 0.7379 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001307/0.5459, allocations: 0.5066 MB / 0.7384 GB, free: 4.809 MB / 0.5606 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.0008793/0.5467, allocations: 381.8 kB / 0.7387 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.5485, allocations: 0.8677 MB / 0.7396 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5485, allocations: 0 / 0.7396 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004847/0.549, allocations: 220.1 kB / 0.7398 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.5509, allocations: 488.4 kB / 0.7403 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.5536, allocations: 1.626 MB / 0.7418 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.5543, allocations: 1.056 MB / 0.7429 GB, free: 100 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007342/0.555, allocations: 227.6 kB / 0.7431 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.5552, allocations: 83.41 kB / 0.7432 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5552, allocations: 4 kB / 0.7432 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.03272/0.5879, allocations: 20.11 MB / 0.7628 GB, free: 11.97 MB / 0.5919 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)