Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008731, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005795/0.005795, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9611/0.9611, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003456, allocations: 12 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 82.31 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3261/0.4883, allocations: 28.43 MB / 0.6157 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0099/0.4983, allocations: 6.823 MB / 0.6224 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.5001, allocations: 39.81 kB / 0.6224 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.5019, allocations: 0.6027 MB / 0.623 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.5057, allocations: 1.34 MB / 0.6243 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002901/0.5086, allocations: 1.04 MB / 0.6253 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00364/0.5123, allocations: 3.225 MB / 0.6285 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.5134, allocations: 0.7077 MB / 0.6292 GB, free: 32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.5152, allocations: 0.9248 MB / 0.6301 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009824/0.5162, allocations: 0.8153 MB / 0.6309 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.148e-05/0.5163, allocations: 37.31 kB / 0.6309 GB, free: 31.29 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.5181, allocations: 0.7594 MB / 0.6317 GB, free: 31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.5183, allocations: 248.5 kB / 0.6319 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004487/0.5188, allocations: 0.5426 MB / 0.6324 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001727/0.5205, allocations: 1.552 MB / 0.6339 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5205, allocations: 7.938 kB / 0.634 GB, free: 30 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.434e-06/0.5205, allocations: 3.234 kB / 0.634 GB, free: 30 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.5205, allocations: 0 / 0.634 GB, free: 30 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002213/0.5228, allocations: 1.362 MB / 0.6353 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5228, allocations: 9.5 kB / 0.6353 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.5261, allocations: 0.6288 MB / 0.6359 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.5273, allocations: 0.8092 MB / 0.6367 GB, free: 28.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.5273, allocations: 65.09 kB / 0.6368 GB, free: 28.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5275, allocations: 71.66 kB / 0.6368 GB, free: 28.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.5297, allocations: 1.103 MB / 0.6379 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.5297, allocations: 7 kB / 0.6379 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.5298, allocations: 32.94 kB / 0.6379 GB, free: 27.85 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.5298, allocations: 19.72 kB / 0.638 GB, free: 27.85 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/0.5326, allocations: 1.021 MB / 0.639 GB, free: 27.59 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.004649/0.5373, allocations: 4.971 MB / 0.6438 GB, free: 23.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.54, allocations: 0.9539 MB / 0.6447 GB, free: 23.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.5414, allocations: 0.4909 MB / 0.6452 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.5424, allocations: 1.605 MB / 0.6468 GB, free: 21.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.5439, allocations: 0.5861 MB / 0.6474 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 3.467e-06/0.544, allocations: 0 / 0.6474 GB, free: 21.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004543/0.5485, allocations: 1.521 MB / 0.6489 GB, free: 20.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.5486, allocations: 57.5 kB / 0.6489 GB, free: 20.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.5501, allocations: 1.113 MB / 0.65 GB, free: 20.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.5502, allocations: 37.77 kB / 0.65 GB, free: 20.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.5505, allocations: 0.5556 MB / 0.6506 GB, free: 19.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5507, allocations: 205.4 kB / 0.6508 GB, free: 19.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.5508, allocations: 71.48 kB / 0.6508 GB, free: 19.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.5509, allocations: 335 kB / 0.6512 GB, free: 19.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.5524, allocations: 462.3 kB / 0.6516 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.554, allocations: 0.7316 MB / 0.6523 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003117/0.5571, allocations: 1.136 MB / 0.6534 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.5571, allocations: 6.875 kB / 0.6534 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003969/0.5611, allocations: 1.294 MB / 0.6547 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.5612, allocations: 7.906 kB / 0.6547 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.5612, allocations: 9.047 kB / 0.6547 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/0.5612, allocations: 14.38 kB / 0.6547 GB, free: 17.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.5625, allocations: 278.2 kB / 0.655 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/0.5626, allocations: 17.84 kB / 0.655 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.564, allocations: 210.4 kB / 0.6552 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.5641, allocations: 44.38 kB / 0.6552 GB, free: 17.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * 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.000509/0.5646, allocations: 292.6 kB / 0.6555 GB, free: 17.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.5648, allocations: 118.8 kB / 0.6556 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004048/0.5689, allocations: 1.391 MB / 0.657 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.5689, allocations: 13.02 kB / 0.657 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.5689, allocations: 1.031 kB / 0.657 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.5689, allocations: 3.656 kB / 0.657 GB, free: 17.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005901/0.5748, allocations: 2.398 MB / 0.6594 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.5749, allocations: 2.391 kB / 0.6594 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.5761, allocations: 201.3 kB / 0.6596 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.5761, allocations: 3.438 kB / 0.6596 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.492e-05/0.5762, allocations: 25.08 kB / 0.6596 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.455e-06/0.5762, allocations: 5.547 kB / 0.6596 GB, free: 16.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.5762, allocations: 5.125 kB / 0.6596 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.5821, allocations: 2.013 MB / 0.6616 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/0.5828, allocations: 284.3 kB / 0.6618 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.583, allocations: 15 kB / 0.6618 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.584, allocations: 134 kB / 0.662 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001666/0.5842, allocations: 49.27 kB / 0.662 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.5843, allocations: 36.98 kB / 0.662 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001342/0.5857, allocations: 0.7628 MB / 0.6628 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5857, allocations: 1.156 kB / 0.6628 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001689/0.5874, allocations: 344.7 kB / 0.6631 GB, free: 14.69 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.001744/0.5891, allocations: 0.6477 MB / 0.6638 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003678/0.5928, allocations: 1.135 MB / 0.6649 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5928, allocations: 1 kB / 0.6649 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.5946, allocations: 0.5829 MB / 0.6654 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002683/0.5973, allocations: 433 kB / 0.6658 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005768/0.6031, allocations: 2.811 MB / 0.6686 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.6038, allocations: 1.109 MB / 0.6697 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001343/0.6052, allocations: 244.7 kB / 0.6699 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003414/0.6055, allocations: 103.9 kB / 0.67 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of SimCode: time 1.403e-06/0.6056, allocations: 0 / 0.67 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.03823/0.6438, allocations: 18.94 MB / 0.6885 GB, free: 4.543 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)