Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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/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/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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 174.6 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9262/0.9262, allocations: 130.7 MB / 138.7 MB, free: 3.602 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.692/1.692, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.001242/0.001242, allocations: 94.84 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/1.998e-05, allocations: 8 kB / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5828/0.5829, allocations: 81.57 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.663/6.246, allocations: 1.836 GB / 2.464 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/6.247, allocations: 87.56 kB / 2.464 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.023/10.27, allocations: 1.007 GB / 3.471 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/10.27, allocations: 6.656 kB / 3.471 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000277/10.27, allocations: 43.12 kB / 3.471 GB, free: 101.1 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00918/10.28, allocations: 1.836 MB / 3.473 GB, free: 99.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/10.28, allocations: 8.031 kB / 3.473 GB, free: 99.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/10.28, allocations: 0.6922 MB / 3.473 GB, free: 98.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003775/10.29, allocations: 1.038 MB / 3.474 GB, free: 97.46 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.007e-05/10.29, allocations: 32 kB / 3.474 GB, free: 97.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/10.29, allocations: 59.2 kB / 3.474 GB, free: 97.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/10.29, allocations: 0.8395 MB / 3.475 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/10.29, allocations: 1.149 MB / 3.476 GB, free: 95.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/10.29, allocations: 0 / 3.476 GB, free: 95.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/10.29, allocations: 4 kB / 3.476 GB, free: 95.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/10.29, allocations: 41.97 kB / 3.476 GB, free: 95.27 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.008745/10.3, allocations: 5.579 MB / 3.482 GB, free: 89.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/10.3, allocations: 0.8958 MB / 3.483 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/10.3, allocations: 485 kB / 3.483 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/10.3, allocations: 0.5898 MB / 3.484 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007816/10.3, allocations: 0.5744 MB / 3.484 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 4.739e-06/10.3, allocations: 0 / 3.484 GB, free: 86.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.002424/10.31, allocations: 1.061 MB / 3.485 GB, free: 85.79 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/10.31, allocations: 64.19 kB / 3.485 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/10.31, allocations: 0.8515 MB / 3.486 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/10.31, allocations: 29.7 kB / 3.486 GB, free: 84.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006671/10.31, allocations: 0.5929 MB / 3.487 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/10.31, allocations: 260.2 kB / 3.487 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/10.31, allocations: 0 / 3.487 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001757/10.31, allocations: 341.9 kB / 3.487 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006561/10.31, allocations: 406.4 kB / 3.488 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/10.31, allocations: 0.7 MB / 3.488 GB, free: 82.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/10.31, allocations: 460.1 kB / 3.489 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/10.31, allocations: 7.953 kB / 3.489 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002482/10.32, allocations: 1.155 MB / 3.49 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/10.32, allocations: 8 kB / 3.49 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/10.32, allocations: 4 kB / 3.49 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.401e-05/10.32, allocations: 20 kB / 3.49 GB, free: 80.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/10.32, allocations: 315.6 kB / 3.49 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.65e-05/10.32, allocations: 19.92 kB / 3.49 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/10.32, allocations: 194.7 kB / 3.49 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/10.32, allocations: 59.95 kB / 3.491 GB, free: 80.16 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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.0002945/10.32, allocations: 138.9 kB / 3.491 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/10.32, allocations: 118.5 kB / 3.491 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/10.32, allocations: 1.16 MB / 3.492 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/10.32, allocations: 8 kB / 3.492 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/10.32, allocations: 8 kB / 3.492 GB, free: 78.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/10.32, allocations: 3.984 kB / 3.492 GB, free: 78.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004884/10.33, allocations: 2.578 MB / 3.494 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/10.33, allocations: 4 kB / 3.494 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/10.33, allocations: 243.7 kB / 3.495 GB, free: 75.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/10.33, allocations: 8 kB / 3.495 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/10.33, allocations: 27.95 kB / 3.495 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/10.33, allocations: 8 kB / 3.495 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/10.33, allocations: 7.938 kB / 3.495 GB, free: 75.78 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002854/10.33, allocations: 2.086 MB / 3.497 GB, free: 73.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007942/10.33, allocations: 331.2 kB / 3.497 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/10.33, allocations: 11.98 kB / 3.497 GB, free: 73.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/10.33, allocations: 127.8 kB / 3.497 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/10.33, allocations: 72.38 kB / 3.497 GB, free: 72.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-05/10.33, allocations: 47.89 kB / 3.497 GB, free: 72.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008138/10.34, allocations: 0.6366 MB / 3.498 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/10.34, allocations: 0 / 3.498 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00182/10.34, allocations: 455.3 kB / 3.498 GB, free: 71.86 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003543/10.34, allocations: 2.144 MB / 3.5 GB, free: 70.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001623/10.34, allocations: 1.003 MB / 3.501 GB, free: 69.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/10.34, allocations: 0 / 3.501 GB, free: 69.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/10.34, allocations: 0.5115 MB / 3.502 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/10.34, allocations: 426.4 kB / 3.502 GB, free: 68.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/10.36, allocations: 2.679 MB / 3.505 GB, free: 65.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008884/10.36, allocations: 1.209 MB / 3.506 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002062/10.36, allocations: 350 kB / 3.507 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/10.36, allocations: 115.4 kB / 3.507 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/10.36, allocations: 0 / 3.507 GB, free: 63.66 MB / 0.6823 GB Notification: Performance of Templates: time 0.03997/10.4, allocations: 26.86 MB / 3.533 GB, free: 37.12 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)