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.001629/0.001629, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001745/0.001745, allocations: 196.4 kB / 16.26 MB, free: 6.625 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9417/0.9417, allocations: 135.6 MB / 425.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 68.23 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1607, allocations: 81.01 MB / 0.5845 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2786/0.4393, allocations: 29.11 MB / 0.6129 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007704/0.447, allocations: 6.838 MB / 0.6196 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4482, allocations: 45.12 kB / 0.6196 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.4496, allocations: 0.6167 MB / 0.6202 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002724/0.4524, allocations: 1.351 MB / 0.6216 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.4547, allocations: 1.054 MB / 0.6226 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.4567, allocations: 2.492 MB / 0.625 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/0.4575, allocations: 0.8005 MB / 0.6258 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.4587, allocations: 1.04 MB / 0.6268 GB, free: 31.13 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/0.4593, allocations: 0.8393 MB / 0.6276 GB, free: 30.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.385e-05/0.4594, allocations: 69.8 kB / 0.6277 GB, free: 30.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.4607, allocations: 0.8325 MB / 0.6285 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.4609, allocations: 284.2 kB / 0.6288 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.4613, allocations: 0.5509 MB / 0.6293 GB, free: 29.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.4627, allocations: 1.61 MB / 0.6309 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4627, allocations: 0 / 0.6309 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4627, allocations: 4 kB / 0.6309 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.4628, allocations: 0 / 0.6309 GB, free: 29.36 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.001963/0.4647, allocations: 1.574 MB / 0.6324 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.4648, allocations: 9.312 kB / 0.6325 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003124/0.4679, allocations: 0.5837 MB / 0.633 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.4688, allocations: 0.804 MB / 0.6338 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.4688, allocations: 62.47 kB / 0.6339 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.4689, allocations: 78.81 kB / 0.6339 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.4709, allocations: 1.1 MB / 0.635 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.4709, allocations: 2.969 kB / 0.635 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.471, allocations: 26.03 kB / 0.635 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.471, allocations: 22.41 kB / 0.6351 GB, free: 27.09 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.4735, allocations: 1.008 MB / 0.6361 GB, free: 26.81 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.004066/0.4776, allocations: 4.936 MB / 0.6409 GB, free: 22.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/0.4801, allocations: 0.8989 MB / 0.6418 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.4813, allocations: 489.3 kB / 0.6422 GB, free: 22.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009378/0.4823, allocations: 1.595 MB / 0.6438 GB, free: 20.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.4837, allocations: 0.569 MB / 0.6443 GB, free: 20.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.434e-06/0.4837, allocations: 0 / 0.6443 GB, free: 20.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.004084/0.4878, allocations: 1.49 MB / 0.6458 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.4878, allocations: 57.5 kB / 0.6458 GB, free: 20.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.489, allocations: 1.114 MB / 0.6469 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.4891, allocations: 42.48 kB / 0.647 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.4894, allocations: 0.5489 MB / 0.6475 GB, free: 19.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.4895, allocations: 208.7 kB / 0.6477 GB, free: 19.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.4898, allocations: 162.5 kB / 0.6479 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.667e-05/0.4899, allocations: 341.5 kB / 0.6482 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.4912, allocations: 444.9 kB / 0.6486 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.4926, allocations: 0.7166 MB / 0.6493 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002665/0.4953, allocations: 1.126 MB / 0.6504 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.4953, allocations: 2.5 kB / 0.6504 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003295/0.4986, allocations: 1.271 MB / 0.6517 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4987, allocations: 8.625 kB / 0.6517 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.4987, allocations: 7.438 kB / 0.6517 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/0.4987, allocations: 12.31 kB / 0.6517 GB, free: 17.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.4999, allocations: 271.8 kB / 0.6519 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.5, allocations: 17 kB / 0.652 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.5012, allocations: 200.1 kB / 0.6521 GB, free: 16.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/0.5013, allocations: 47.58 kB / 0.6522 GB, free: 16.98 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.0004378/0.5018, allocations: 288.5 kB / 0.6525 GB, free: 16.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.5019, allocations: 123 kB / 0.6526 GB, free: 16.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/0.5056, allocations: 1.371 MB / 0.6539 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.5056, allocations: 8.891 kB / 0.6539 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5056, allocations: 1.406 kB / 0.6539 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5057, allocations: 3.703 kB / 0.6539 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/0.5104, allocations: 2.373 MB / 0.6563 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/0.5105, allocations: 6.781 kB / 0.6563 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009868/0.5115, allocations: 182.8 kB / 0.6564 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.5115, allocations: 3.781 kB / 0.6564 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/0.5115, allocations: 25.66 kB / 0.6565 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.5116, allocations: 12.73 kB / 0.6565 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5116, allocations: 9.219 kB / 0.6565 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/0.5164, allocations: 1.967 MB / 0.6584 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004615/0.5169, allocations: 278.6 kB / 0.6587 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.5171, allocations: 20.38 kB / 0.6587 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009802/0.518, allocations: 128.7 kB / 0.6588 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.5182, allocations: 53.27 kB / 0.6589 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.049e-05/0.5183, allocations: 38 kB / 0.6589 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001002/0.5193, allocations: 0.7683 MB / 0.6596 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5193, allocations: 0 / 0.6596 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001296/0.5206, allocations: 342.5 kB / 0.66 GB, free: 13.86 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.002148/0.5227, allocations: 0.6545 MB / 0.6606 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00361/0.5264, allocations: 1.183 MB / 0.6618 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5264, allocations: 0 / 0.6618 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.5279, allocations: 0.574 MB / 0.6623 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.53, allocations: 453.2 kB / 0.6628 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/0.5344, allocations: 2.73 MB / 0.6654 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.535, allocations: 1.103 MB / 0.6665 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001043/0.5361, allocations: 247.4 kB / 0.6667 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.5364, allocations: 108.3 kB / 0.6668 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.5364, allocations: 1.406 kB / 0.6668 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of Templates: time 0.03246/0.5688, allocations: 19.7 MB / 0.6861 GB, free: 3.668 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)