Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001142/0.001142, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001088/0.001088, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.331/1.331, 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/package.mo): time 0.7916/0.7916, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3799, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02513/0.4051, allocations: 29.34 MB / 0.6101 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.4162, allocations: 6.876 MB / 0.6169 GB, free: 9.934 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.4177, allocations: 47.69 kB / 0.6169 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.4195, allocations: 0.6914 MB / 0.6176 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004249/0.4238, allocations: 1.458 MB / 0.619 GB, free: 7.727 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002994/0.4268, allocations: 1.152 MB / 0.6201 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00349/0.4303, allocations: 2.473 MB / 0.6225 GB, free: 4.102 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.4315, allocations: 0.7922 MB / 0.6233 GB, free: 3.293 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.4337, allocations: 1.015 MB / 0.6243 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.4353, allocations: 0.817 MB / 0.6251 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.4355, allocations: 64 kB / 0.6252 GB, free: 1.391 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.4373, allocations: 0.8226 MB / 0.626 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002744/0.4376, allocations: 278.9 kB / 0.6262 GB, free: 300 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005999/0.4382, allocations: 0.5438 MB / 0.6268 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.4403, allocations: 1.631 MB / 0.6284 GB, free: 14.11 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4403, allocations: 0 / 0.6284 GB, free: 14.11 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4403, allocations: 4 kB / 0.6284 GB, free: 14.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.4404, allocations: 0 / 0.6284 GB, free: 14.11 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.002582/0.443, allocations: 1.566 MB / 0.6299 GB, free: 12.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.443, allocations: 12.03 kB / 0.6299 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003383/0.4464, allocations: 0.5846 MB / 0.6305 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.4479, allocations: 0.8832 MB / 0.6313 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.448, allocations: 57.98 kB / 0.6314 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.4482, allocations: 72 kB / 0.6315 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.4505, allocations: 1.103 MB / 0.6325 GB, free: 9.645 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.4506, allocations: 4 kB / 0.6325 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.4506, allocations: 28 kB / 0.6326 GB, free: 9.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.4507, allocations: 16 kB / 0.6326 GB, free: 9.598 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.4535, allocations: 1.004 MB / 0.6336 GB, free: 8.594 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.005943/0.4595, allocations: 4.928 MB / 0.6384 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002815/0.4623, allocations: 0.9151 MB / 0.6393 GB, free: 2.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/0.4637, allocations: 490.2 kB / 0.6397 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001378/0.4651, allocations: 1.584 MB / 0.6413 GB, free: 40 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001608/0.4667, allocations: 0.5769 MB / 0.6418 GB, free: 15.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 3.196e-06/0.4667, allocations: 4 kB / 0.6419 GB, free: 15.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.004556/0.4713, allocations: 1.481 MB / 0.6433 GB, free: 13.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4713, allocations: 59.97 kB / 0.6434 GB, free: 13.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.4726, allocations: 1.12 MB / 0.6444 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.4727, allocations: 41.7 kB / 0.6445 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004439/0.4731, allocations: 0.5395 MB / 0.645 GB, free: 12.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.4733, allocations: 213.1 kB / 0.6452 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.4736, allocations: 162.5 kB / 0.6454 GB, free: 11.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4738, allocations: 338 kB / 0.6457 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4751, allocations: 445.6 kB / 0.6461 GB, free: 11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.4767, allocations: 0.7164 MB / 0.6468 GB, free: 10.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.4795, allocations: 1.12 MB / 0.6479 GB, free: 8.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.4796, allocations: 3.938 kB / 0.6479 GB, free: 8.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003418/0.483, allocations: 1.274 MB / 0.6492 GB, free: 7.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.483, allocations: 11.94 kB / 0.6492 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.483, allocations: 8.844 kB / 0.6492 GB, free: 7.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.4831, allocations: 12 kB / 0.6492 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.4843, allocations: 271.6 kB / 0.6495 GB, free: 7.367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.4843, allocations: 15.94 kB / 0.6495 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.4854, allocations: 183 kB / 0.6496 GB, free: 7.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.611e-05/0.4855, allocations: 43.98 kB / 0.6497 GB, free: 7.129 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.0004329/0.4859, allocations: 299.6 kB / 0.65 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.4861, allocations: 114.6 kB / 0.6501 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003661/0.4898, allocations: 1.354 MB / 0.6514 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.4898, allocations: 15.92 kB / 0.6514 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4898, allocations: 0 / 0.6514 GB, free: 5.348 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4898, allocations: 7.922 kB / 0.6514 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00485/0.4947, allocations: 2.374 MB / 0.6537 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.4947, allocations: 4 kB / 0.6537 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.4957, allocations: 183.9 kB / 0.6539 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4957, allocations: 8 kB / 0.6539 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.4958, allocations: 31.97 kB / 0.654 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.4958, allocations: 7.938 kB / 0.654 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4958, allocations: 0 / 0.654 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.5007, allocations: 1.969 MB / 0.6559 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/0.5012, allocations: 283.2 kB / 0.6562 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.5014, allocations: 16 kB / 0.6562 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.5023, allocations: 107.8 kB / 0.6563 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5024, allocations: 56.52 kB / 0.6563 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/0.5025, allocations: 39.97 kB / 0.6564 GB, free: 156 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009253/0.5034, allocations: 0.76 MB / 0.6571 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5034, allocations: 0 / 0.6571 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001016/0.5044, allocations: 351.6 kB / 0.6574 GB, free: 15.04 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.001464/0.5059, allocations: 0.6502 MB / 0.6581 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003157/0.5091, allocations: 1.11 MB / 0.6592 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5091, allocations: 4.188 kB / 0.6592 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.5106, allocations: 0.5734 MB / 0.6597 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.5124, allocations: 454.9 kB / 0.6602 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004674/0.5171, allocations: 2.344 MB / 0.6625 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/0.5178, allocations: 1.108 MB / 0.6635 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000862/0.5186, allocations: 246.4 kB / 0.6638 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.519, allocations: 107.4 kB / 0.6639 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.519, allocations: 4 kB / 0.6639 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of Templates: time 0.03368/0.5527, allocations: 19.86 MB / 0.6833 GB, free: 5.02 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)