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.001112, allocations: 112.9 kB / 16.42 MB, free: 5.949 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.001055/0.001055, allocations: 184.1 kB / 17.35 MB, free: 5.594 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7823/0.7823, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 66.52 kB / 0.582 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1205, allocations: 80.19 MB / 0.6603 GB, free: 10.31 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.03049/0.151, allocations: 30.67 MB / 0.6903 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01323/0.1643, allocations: 10.27 MB / 0.7003 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.1655, allocations: 47.75 kB / 0.7003 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.1676, allocations: 0.6952 MB / 0.701 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.171, allocations: 1.528 MB / 0.7025 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.1738, allocations: 1.333 MB / 0.7038 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003434/0.1773, allocations: 2.997 MB / 0.7067 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.1786, allocations: 0.9608 MB / 0.7077 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.1809, allocations: 1.203 MB / 0.7089 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001104/0.182, allocations: 0.8011 MB / 0.7096 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.1822, allocations: 104 kB / 0.7097 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.1837, allocations: 0.7997 MB / 0.7105 GB, free: 6.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.1841, allocations: 358.9 kB / 0.7109 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000692/0.1848, allocations: 0.6142 MB / 0.7115 GB, free: 5.773 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.1873, allocations: 1.985 MB / 0.7134 GB, free: 3.781 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1873, allocations: 4 kB / 0.7134 GB, free: 3.777 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1873, allocations: 0 / 0.7134 GB, free: 3.777 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.1873, allocations: 0 / 0.7134 GB, free: 3.777 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.002294/0.1896, allocations: 1.567 MB / 0.7149 GB, free: 2.156 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1896, allocations: 19.95 kB / 0.715 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000972/0.1906, allocations: 212 kB / 0.7152 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.1924, allocations: 1.051 MB / 0.7162 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.1924, allocations: 61.31 kB / 0.7162 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.1925, allocations: 67.95 kB / 0.7163 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1938, allocations: 0.7372 MB / 0.717 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.1938, allocations: 0 / 0.717 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.1939, allocations: 28 kB / 0.7171 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.1939, allocations: 21.31 kB / 0.7171 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.1951, allocations: 0.5359 MB / 0.7176 GB, free: 15.36 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.003808/0.1989, allocations: 3.18 MB / 0.7207 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.2, allocations: 450.8 kB / 0.7211 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.2004, allocations: 196.8 kB / 0.7213 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.2022, allocations: 1.536 MB / 0.7228 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004992/0.2027, allocations: 244.1 kB / 0.7231 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=37): time 1.884e-06/0.2027, allocations: 0 / 0.7231 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=37): time 0.001338/0.204, allocations: 0.583 MB / 0.7236 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/0.2041, allocations: 55.41 kB / 0.7237 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.2052, allocations: 0.9451 MB / 0.7246 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.2052, allocations: 45.69 kB / 0.7246 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000392/0.2056, allocations: 0.5005 MB / 0.7251 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.2058, allocations: 138.8 kB / 0.7253 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.206, allocations: 126.2 kB / 0.7254 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2061, allocations: 330 kB / 0.7257 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004475/0.2065, allocations: 207.1 kB / 0.7259 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.2071, allocations: 412.2 kB / 0.7263 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.2081, allocations: 0.6012 MB / 0.7269 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.2082, allocations: 0 / 0.7269 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001339/0.2095, allocations: 0.7193 MB / 0.7276 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2095, allocations: 13.81 kB / 0.7276 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2096, allocations: 8 kB / 0.7276 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2096, allocations: 8 kB / 0.7276 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.2102, allocations: 143.7 kB / 0.7277 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.2102, allocations: 12 kB / 0.7278 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.2108, allocations: 80.42 kB / 0.7278 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.2108, allocations: 31.98 kB / 0.7279 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006179/0.2115, allocations: 417.1 kB / 0.7283 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00049/0.212, allocations: 387.8 kB / 0.7286 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008083/0.2128, allocations: 0.5575 MB / 0.7292 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.639e-06/0.2128, allocations: 4 kB / 0.7292 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001112/0.2139, allocations: 0.6608 MB / 0.7298 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.2139, allocations: 11.94 kB / 0.7298 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.214, allocations: 8 kB / 0.7298 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.214, allocations: 8 kB / 0.7299 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.2145, allocations: 147.7 kB / 0.73 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2145, allocations: 8 kB / 0.73 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.215, allocations: 56.61 kB / 0.7301 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.2151, allocations: 31.98 kB / 0.7301 GB, free: 1.762 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.0001674/0.2152, allocations: 224 kB / 0.7303 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.2154, allocations: 111.2 kB / 0.7304 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.2167, allocations: 0.6007 MB / 0.731 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009665/0.2177, allocations: 0.6703 MB / 0.7316 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2177, allocations: 0 / 0.7316 GB, free: 72 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.218, allocations: 236.2 kB / 0.7319 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.2181, allocations: 8 kB / 0.7319 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.2185, allocations: 23.98 kB / 0.7319 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.2186, allocations: 35.91 kB / 0.7319 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001369/0.22, allocations: 0.5984 MB / 0.7325 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001547/0.2215, allocations: 0.9591 MB / 0.7335 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004228/0.222, allocations: 222.1 kB / 0.7337 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007885/0.2228, allocations: 0.6506 MB / 0.7343 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of Backend: time 4.31e-07/0.2228, allocations: 0 / 0.7343 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.2251, allocations: 0.9728 MB / 0.7353 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003843/0.2289, allocations: 2.518 MB / 0.7377 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.2836/0.5126, allocations: 22.83 MB / 0.76 GB, free: 80.82 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)