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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.006383/0.006383, allocations: 169.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7424/0.7424, allocations: 135.2 MB / 151.1 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 406.9 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 95.02 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004234, allocations: 8 kB / 0.5691 GB, free: 14.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4831/0.4835, allocations: 82.31 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.426/5.909, allocations: 2.121 GB / 2.771 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/5.91, allocations: 87.95 kB / 2.771 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.181/8.091, allocations: 0.602 GB / 3.373 GB, free: 44.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.184e-06/8.091, allocations: 3.938 kB / 3.373 GB, free: 44.12 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002154/8.091, allocations: 35.98 kB / 3.373 GB, free: 44.09 MB / 0.6823 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.00482/8.096, allocations: 1.541 MB / 3.374 GB, free: 42.49 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/8.096, allocations: 8.031 kB / 3.374 GB, free: 42.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/8.099, allocations: 0.572 MB / 3.375 GB, free: 41.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/8.102, allocations: 0.9337 MB / 3.376 GB, free: 40.91 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/8.102, allocations: 54 kB / 3.376 GB, free: 40.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/8.102, allocations: 75.98 kB / 3.376 GB, free: 40.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/8.105, allocations: 1.107 MB / 3.377 GB, free: 39.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/8.105, allocations: 3.938 kB / 3.377 GB, free: 39.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.169e-05/8.105, allocations: 28 kB / 3.377 GB, free: 39.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/8.105, allocations: 33.3 kB / 3.377 GB, free: 39.54 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002691/8.108, allocations: 1.004 MB / 3.378 GB, free: 38.53 MB / 0.6823 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.005899/8.113, allocations: 4.955 MB / 3.383 GB, free: 33.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/8.116, allocations: 0.9475 MB / 3.384 GB, free: 32.33 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/8.117, allocations: 1.596 MB / 3.385 GB, free: 30.39 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/8.118, allocations: 0.5807 MB / 3.386 GB, free: 29.79 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.246e-06/8.119, allocations: 0 / 3.386 GB, free: 29.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.004185/8.123, allocations: 1.504 MB / 3.387 GB, free: 28.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/8.123, allocations: 63.92 kB / 3.387 GB, free: 28.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/8.124, allocations: 0.9852 MB / 3.388 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/8.124, allocations: 37.7 kB / 3.388 GB, free: 27.17 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004079/8.125, allocations: 0.555 MB / 3.389 GB, free: 26.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/8.125, allocations: 209.1 kB / 3.389 GB, free: 26.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/8.125, allocations: 16 kB / 3.389 GB, free: 26.39 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.004e-05/8.125, allocations: 334 kB / 3.39 GB, free: 26.06 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/8.126, allocations: 453.6 kB / 3.39 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/8.128, allocations: 0.7567 MB / 3.391 GB, free: 24.73 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/8.129, allocations: 0.4886 MB / 3.391 GB, free: 24.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/8.129, allocations: 0 / 3.391 GB, free: 24.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003159/8.132, allocations: 1.282 MB / 3.392 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/8.132, allocations: 9.375 kB / 3.392 GB, free: 22.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/8.132, allocations: 12 kB / 3.392 GB, free: 22.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/8.132, allocations: 15.94 kB / 3.392 GB, free: 22.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/8.133, allocations: 275.6 kB / 3.393 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/8.133, allocations: 19.92 kB / 3.393 GB, free: 22.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/8.135, allocations: 214.9 kB / 3.393 GB, free: 22.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/8.135, allocations: 51.97 kB / 3.393 GB, free: 22.36 MB / 0.6823 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005585/8.135, allocations: 295.7 kB / 3.393 GB, free: 22.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/8.136, allocations: 126.5 kB / 3.393 GB, free: 21.94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/8.139, allocations: 1.432 MB / 3.395 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/8.139, allocations: 8 kB / 3.395 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/8.139, allocations: 8 kB / 3.395 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/8.139, allocations: 3.984 kB / 3.395 GB, free: 20.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00466/8.144, allocations: 2.48 MB / 3.397 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/8.144, allocations: 0 / 3.397 GB, free: 17.92 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009521/8.145, allocations: 203.9 kB / 3.397 GB, free: 17.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/8.145, allocations: 4 kB / 3.397 GB, free: 17.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.668e-05/8.145, allocations: 27.97 kB / 3.397 GB, free: 17.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/8.145, allocations: 4 kB / 3.397 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/8.145, allocations: 0 / 3.397 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004194/8.149, allocations: 2.125 MB / 3.4 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006506/8.15, allocations: 311.2 kB / 3.4 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/8.15, allocations: 16 kB / 3.4 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009224/8.151, allocations: 135.9 kB / 3.4 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/8.151, allocations: 48.5 kB / 3.4 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/8.151, allocations: 35.97 kB / 3.4 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009217/8.152, allocations: 0.7638 MB / 3.401 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/8.152, allocations: 0 / 3.401 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001333/8.153, allocations: 399.5 kB / 3.401 GB, free: 13.78 MB / 0.6823 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/8.155, allocations: 0.8127 MB / 3.402 GB, free: 13.13 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002921/8.158, allocations: 1.143 MB / 3.403 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/8.158, allocations: 0 / 3.403 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/8.159, allocations: 0.5932 MB / 3.404 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/8.162, allocations: 432 kB / 3.404 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005342/8.167, allocations: 2.747 MB / 3.407 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/8.168, allocations: 1.139 MB / 3.408 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001295/8.169, allocations: 252.6 kB / 3.408 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/8.169, allocations: 111.3 kB / 3.408 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/8.169, allocations: 0 / 3.408 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of Templates: time 0.4169/8.586, allocations: 20.9 MB / 3.429 GB, free: 132.6 MB / 0.6823 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)