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.001066/0.001065, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001031/0.001031, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7718/0.7718, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.89 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3543, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02266/0.377, allocations: 29.35 MB / 0.6144 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009935/0.387, allocations: 6.875 MB / 0.6211 GB, free: 6.309 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.3881, allocations: 47.69 kB / 0.6212 GB, free: 6.262 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.3896, allocations: 0.6875 MB / 0.6218 GB, free: 5.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003196/0.3928, allocations: 1.462 MB / 0.6233 GB, free: 4.102 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.3964, allocations: 1.155 MB / 0.6244 GB, free: 2.957 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004749/0.4012, allocations: 2.469 MB / 0.6268 GB, free: 488 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.4028, allocations: 0.7922 MB / 0.6276 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.4048, allocations: 1.012 MB / 0.6286 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009658/0.4058, allocations: 0.8092 MB / 0.6294 GB, free: 13.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.4059, allocations: 64 kB / 0.6294 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00174/0.4077, allocations: 0.8265 MB / 0.6302 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.408, allocations: 270.9 kB / 0.6305 GB, free: 12.69 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.4085, allocations: 0.5554 MB / 0.631 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.4103, allocations: 1.635 MB / 0.6326 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4103, allocations: 0 / 0.6326 GB, free: 10.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4103, allocations: 0 / 0.6326 GB, free: 10.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.4103, allocations: 4 kB / 0.6326 GB, free: 10.49 MB / 478.1 MB 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.002392/0.4127, allocations: 1.566 MB / 0.6342 GB, free: 8.871 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.4128, allocations: 13.11 kB / 0.6342 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.416, allocations: 0.5885 MB / 0.6347 GB, free: 8.27 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.4175, allocations: 0.8716 MB / 0.6356 GB, free: 7.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.4176, allocations: 58 kB / 0.6357 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.4177, allocations: 79.89 kB / 0.6357 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.42, allocations: 1.096 MB / 0.6368 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.42, allocations: 4 kB / 0.6368 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.4201, allocations: 32 kB / 0.6368 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.4201, allocations: 16 kB / 0.6368 GB, free: 5.984 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.423, allocations: 1 MB / 0.6378 GB, free: 4.984 MB / 478.1 MB 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.005842/0.4288, allocations: 4.935 MB / 0.6426 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.4317, allocations: 0.9226 MB / 0.6435 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.433, allocations: 490.1 kB / 0.644 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.4344, allocations: 1.584 MB / 0.6456 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001571/0.436, allocations: 0.5806 MB / 0.6461 GB, free: 11.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 3.136e-06/0.436, allocations: 0 / 0.6461 GB, free: 11.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.00445/0.4405, allocations: 1.477 MB / 0.6476 GB, free: 10.33 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.4406, allocations: 67.95 kB / 0.6476 GB, free: 10.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.4419, allocations: 1.116 MB / 0.6487 GB, free: 9.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/0.442, allocations: 37.7 kB / 0.6488 GB, free: 9.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.4424, allocations: 0.5435 MB / 0.6493 GB, free: 8.531 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.4426, allocations: 213 kB / 0.6495 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.4429, allocations: 162.5 kB / 0.6496 GB, free: 8.156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.443, allocations: 330 kB / 0.65 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.4444, allocations: 457.6 kB / 0.6504 GB, free: 7.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.4459, allocations: 0.7128 MB / 0.6511 GB, free: 6.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00277/0.4487, allocations: 1.12 MB / 0.6522 GB, free: 5.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.4487, allocations: 3.938 kB / 0.6522 GB, free: 5.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003431/0.4521, allocations: 1.274 MB / 0.6534 GB, free: 4.043 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.4522, allocations: 8 kB / 0.6534 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.4522, allocations: 8 kB / 0.6535 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.4522, allocations: 12 kB / 0.6535 GB, free: 4.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.4534, allocations: 268.2 kB / 0.6537 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/0.4534, allocations: 23.91 kB / 0.6537 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.4545, allocations: 183 kB / 0.6539 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-05/0.4546, allocations: 43.98 kB / 0.654 GB, free: 3.508 MB / 494.1 MB 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.0004376/0.4551, allocations: 295.7 kB / 0.6542 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.4553, allocations: 122.4 kB / 0.6544 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.4588, allocations: 1.358 MB / 0.6557 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.4588, allocations: 12 kB / 0.6557 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.4588, allocations: 3.984 kB / 0.6557 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4589, allocations: 0 / 0.6557 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.4636, allocations: 2.37 MB / 0.658 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.4636, allocations: 3.984 kB / 0.658 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/0.4646, allocations: 183.9 kB / 0.6582 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.4646, allocations: 4 kB / 0.6582 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/0.4647, allocations: 31.97 kB / 0.6582 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.4647, allocations: 11.94 kB / 0.6582 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4647, allocations: 3.938 kB / 0.6582 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004775/0.4695, allocations: 1.965 MB / 0.6602 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.47, allocations: 271.3 kB / 0.6604 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.4701, allocations: 27.94 kB / 0.6604 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.471, allocations: 103.8 kB / 0.6605 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.945e-05/0.4711, allocations: 56.42 kB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/0.4712, allocations: 31.97 kB / 0.6606 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008977/0.4721, allocations: 0.7677 MB / 0.6614 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4721, allocations: 0 / 0.6614 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009882/0.4731, allocations: 351.5 kB / 0.6617 GB, free: 11.42 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.001356/0.4745, allocations: 0.6522 MB / 0.6624 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003112/0.4776, allocations: 1.11 MB / 0.6634 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4776, allocations: 0 / 0.6634 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.4792, allocations: 0.5736 MB / 0.664 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.4812, allocations: 460.4 kB / 0.6644 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/0.4857, allocations: 2.342 MB / 0.6667 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006219/0.4863, allocations: 1.104 MB / 0.6678 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008678/0.4872, allocations: 252.6 kB / 0.668 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.4875, allocations: 107.4 kB / 0.6681 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.4875, allocations: 0 / 0.6681 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.0336/0.5211, allocations: 19.88 MB / 0.6876 GB, free: 1.301 MB / 0.5137 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)