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.001178/0.001178, allocations: 114.3 kB / 16.42 MB, free: 6.461 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.001274/0.001274, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.197/1.197, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7221/0.7221, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 62.03 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 80.93 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pump.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02779/0.1456, allocations: 30.57 MB / 0.6952 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.1579, allocations: 10.23 MB / 0.7051 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.159, allocations: 47.75 kB / 0.7052 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.1607, allocations: 0.6836 MB / 0.7059 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003026/0.1638, allocations: 1.493 MB / 0.7073 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.1663, allocations: 1.314 MB / 0.7086 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003065/0.1694, allocations: 2.896 MB / 0.7114 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.1705, allocations: 0.9176 MB / 0.7123 GB, free: 5.492 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.1726, allocations: 1.172 MB / 0.7135 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009505/0.1736, allocations: 0.7584 MB / 0.7142 GB, free: 3.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.1738, allocations: 100 kB / 0.7143 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.1752, allocations: 0.8035 MB / 0.7151 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.1755, allocations: 331 kB / 0.7154 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005835/0.1761, allocations: 0.5791 MB / 0.716 GB, free: 1.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.1782, allocations: 1.893 MB / 0.7178 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1782, allocations: 0 / 0.7178 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1782, allocations: 4 kB / 0.7178 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.1782, allocations: 0 / 0.7178 GB, free: 15.85 MB / 0.5606 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.002321/0.1806, allocations: 1.489 MB / 0.7193 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1806, allocations: 9.109 kB / 0.7193 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009347/0.1816, allocations: 215.2 kB / 0.7195 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.1832, allocations: 1.003 MB / 0.7205 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.1832, allocations: 49.31 kB / 0.7205 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-05/0.1833, allocations: 68 kB / 0.7206 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1845, allocations: 0.7059 MB / 0.7213 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1846, allocations: 4 kB / 0.7213 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.343e-05/0.1846, allocations: 27.94 kB / 0.7213 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.1847, allocations: 16 kB / 0.7213 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1857, allocations: 0.5165 MB / 0.7218 GB, free: 11.62 MB / 0.5606 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.003585/0.1893, allocations: 3.082 MB / 0.7248 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008579/0.1902, allocations: 370.7 kB / 0.7252 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/0.1906, allocations: 188.8 kB / 0.7254 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/0.1923, allocations: 1.477 MB / 0.7268 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005146/0.1928, allocations: 243.5 kB / 0.727 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.1928, allocations: 0 / 0.727 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001285/0.1941, allocations: 0.5393 MB / 0.7276 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1941, allocations: 63.33 kB / 0.7276 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/0.1951, allocations: 0.8994 MB / 0.7285 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.1951, allocations: 33.7 kB / 0.7285 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.1955, allocations: 491.8 kB / 0.729 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.1956, allocations: 110.4 kB / 0.7291 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1958, allocations: 126.1 kB / 0.7292 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.901e-05/0.1959, allocations: 330 kB / 0.7295 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.1963, allocations: 199 kB / 0.7297 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.1969, allocations: 402.1 kB / 0.7301 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009608/0.1979, allocations: 0.6019 MB / 0.7307 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1979, allocations: 0 / 0.7307 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001282/0.1992, allocations: 0.6994 MB / 0.7314 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.1992, allocations: 37.73 kB / 0.7314 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-06/0.1992, allocations: 8 kB / 0.7314 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1993, allocations: 8 kB / 0.7314 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.1997, allocations: 131.8 kB / 0.7316 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.1998, allocations: 19.86 kB / 0.7316 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000501/0.2003, allocations: 68.02 kB / 0.7317 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.2003, allocations: 35.98 kB / 0.7317 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005802/0.2009, allocations: 393.1 kB / 0.7321 GB, free: 500 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004688/0.2014, allocations: 378.3 kB / 0.7324 GB, free: 32 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007989/0.2022, allocations: 0.5424 MB / 0.7329 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.2022, allocations: 4 kB / 0.733 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001098/0.2033, allocations: 0.662 MB / 0.7336 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.2034, allocations: 33.7 kB / 0.7336 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2034, allocations: 4 kB / 0.7336 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.2034, allocations: 12 kB / 0.7336 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.2038, allocations: 119.8 kB / 0.7338 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2038, allocations: 11.94 kB / 0.7338 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.2043, allocations: 64.16 kB / 0.7338 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.2043, allocations: 28 kB / 0.7339 GB, free: 14.45 MB / 0.5762 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.0001491/0.2045, allocations: 220 kB / 0.7341 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.2046, allocations: 90.88 kB / 0.7342 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.2058, allocations: 0.5761 MB / 0.7347 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009134/0.2067, allocations: 0.6502 MB / 0.7354 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2067, allocations: 3.938 kB / 0.7354 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000262/0.207, allocations: 215.7 kB / 0.7356 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.2071, allocations: 11.98 kB / 0.7356 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.2075, allocations: 23.98 kB / 0.7356 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.859e-05/0.2076, allocations: 31.95 kB / 0.7356 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001182/0.2088, allocations: 0.543 MB / 0.7362 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001457/0.2103, allocations: 0.892 MB / 0.737 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004081/0.2107, allocations: 205.5 kB / 0.7372 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006996/0.2114, allocations: 0.618 MB / 0.7378 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of Backend: time 3.61e-07/0.2114, allocations: 3.938 kB / 0.7378 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.2137, allocations: 1.058 MB / 0.7389 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003411/0.2171, allocations: 2.346 MB / 0.7412 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of Templates: time 0.2652/0.4823, allocations: 22.19 MB / 0.7628 GB, free: 75.38 MB / 0.5762 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)