Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 108.4 kB / 16.41 MB, free: 6.395 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.001145/0.001145, allocations: 189.1 kB / 17.34 MB, free: 5.836 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7816/0.7816, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 65.39 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1229, allocations: 80.21 MB / 0.6603 GB, free: 10.28 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.PumpExample): time 0.0283/0.1513, allocations: 30.67 MB / 0.6903 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01305/0.1643, allocations: 10.27 MB / 0.7003 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.1655, allocations: 43.75 kB / 0.7003 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.1675, allocations: 0.699 MB / 0.701 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003511/0.171, allocations: 1.536 MB / 0.7025 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003413/0.1744, allocations: 1.325 MB / 0.7038 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004136/0.1786, allocations: 2.978 MB / 0.7067 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.1801, allocations: 0.9725 MB / 0.7077 GB, free: 9.621 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.1826, allocations: 1.195 MB / 0.7088 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.1839, allocations: 0.805 MB / 0.7096 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.1842, allocations: 104 kB / 0.7097 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.186, allocations: 0.8074 MB / 0.7105 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.1865, allocations: 354.9 kB / 0.7109 GB, free: 6.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009094/0.1874, allocations: 0.6103 MB / 0.7115 GB, free: 5.746 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.19, allocations: 1.981 MB / 0.7134 GB, free: 3.762 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.19, allocations: 0 / 0.7134 GB, free: 3.762 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.19, allocations: 0 / 0.7134 GB, free: 3.762 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.19, allocations: 0 / 0.7134 GB, free: 3.762 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002237/0.1923, allocations: 1.583 MB / 0.7149 GB, free: 2.125 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1923, allocations: 8.031 kB / 0.7149 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009583/0.1933, allocations: 216 kB / 0.7151 GB, free: 1.906 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.195, allocations: 1.062 MB / 0.7162 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.1951, allocations: 53.3 kB / 0.7162 GB, free: 0.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.1952, allocations: 75.95 kB / 0.7163 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1964, allocations: 0.7294 MB / 0.717 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.1964, allocations: 0 / 0.717 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.1965, allocations: 20 kB / 0.717 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.1965, allocations: 29.31 kB / 0.7171 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.1977, allocations: 0.536 MB / 0.7176 GB, free: 15.34 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.003686/0.2014, allocations: 3.176 MB / 0.7207 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.2024, allocations: 446.3 kB / 0.7211 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.2029, allocations: 204.7 kB / 0.7213 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001683/0.2046, allocations: 1.532 MB / 0.7228 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004938/0.2051, allocations: 248.1 kB / 0.723 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.814e-06/0.2051, allocations: 0 / 0.723 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001318/0.2064, allocations: 0.5829 MB / 0.7236 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.2064, allocations: 63.39 kB / 0.7237 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.2075, allocations: 0.9452 MB / 0.7246 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.2075, allocations: 29.7 kB / 0.7246 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.2079, allocations: 0.5044 MB / 0.7251 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.208, allocations: 138.8 kB / 0.7253 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.2082, allocations: 130.2 kB / 0.7254 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2083, allocations: 330 kB / 0.7257 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.2088, allocations: 203.1 kB / 0.7259 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.2094, allocations: 420.2 kB / 0.7263 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009674/0.2103, allocations: 0.6012 MB / 0.7269 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.2104, allocations: 0 / 0.7269 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001278/0.2116, allocations: 0.7153 MB / 0.7276 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2117, allocations: 8 kB / 0.7276 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.2117, allocations: 4 kB / 0.7276 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2117, allocations: 12 kB / 0.7276 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.2123, allocations: 148.1 kB / 0.7277 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.2123, allocations: 15.92 kB / 0.7277 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/0.2129, allocations: 80.16 kB / 0.7278 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.2129, allocations: 31.98 kB / 0.7279 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005968/0.2135, allocations: 409.2 kB / 0.7282 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004789/0.214, allocations: 395.8 kB / 0.7286 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008036/0.2148, allocations: 0.5536 MB / 0.7292 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.2148, allocations: 4 kB / 0.7292 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001095/0.2159, allocations: 0.6646 MB / 0.7298 GB, free: 2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.216, allocations: 13.81 kB / 0.7298 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.216, allocations: 4 kB / 0.7298 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.216, allocations: 12 kB / 0.7298 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.2165, allocations: 136.2 kB / 0.73 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.2165, allocations: 19.94 kB / 0.73 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.217, allocations: 60.34 kB / 0.7301 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.2171, allocations: 28 kB / 0.7301 GB, free: 1.734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * 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.0001498/0.2173, allocations: 216.1 kB / 0.7303 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2174, allocations: 107.2 kB / 0.7304 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.2187, allocations: 0.6123 MB / 0.731 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000934/0.2196, allocations: 0.6664 MB / 0.7316 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2196, allocations: 0 / 0.7316 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.2199, allocations: 236.2 kB / 0.7319 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2201, allocations: 12 kB / 0.7319 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.2205, allocations: 19.98 kB / 0.7319 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.2205, allocations: 31.91 kB / 0.7319 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001368/0.2219, allocations: 0.5946 MB / 0.7325 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001531/0.2235, allocations: 0.9707 MB / 0.7335 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004139/0.2239, allocations: 226.2 kB / 0.7337 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007743/0.2247, allocations: 0.6467 MB / 0.7343 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of Backend: time 4.91e-07/0.2247, allocations: 0 / 0.7343 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002289/0.227, allocations: 0.9677 MB / 0.7352 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003727/0.2307, allocations: 2.515 MB / 0.7377 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of Templates: time 0.3015/0.5322, allocations: 22.84 MB / 0.76 GB, free: 80.46 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.sim & ./IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.pipe 2>&1)