Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.002023/0.002023, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7412/0.7412, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.79/1.79, allocations: 221.3 MB / 400.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001224, allocations: 89.91 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.516e-05/4.519e-05, allocations: 3.781 kB / 0.56 GB, free: 87.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2326, allocations: 82.31 MB / 0.6404 GB, free: 7.855 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.38/5.612, allocations: 1.837 GB / 2.477 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/5.613, allocations: 83.95 kB / 2.477 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.91/9.522, allocations: 1.018 GB / 3.495 GB, free: 123 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/9.522, allocations: 3.219 kB / 3.495 GB, free: 123 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001174/9.523, allocations: 44.94 kB / 3.495 GB, free: 123 MB / 0.698 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.006929/9.53, allocations: 1.838 MB / 3.497 GB, free: 121.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/9.53, allocations: 11.8 kB / 3.497 GB, free: 121.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004233/9.534, allocations: 0.6948 MB / 3.498 GB, free: 121.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/9.537, allocations: 1.034 MB / 3.499 GB, free: 121 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.167e-05/9.537, allocations: 65.75 kB / 3.499 GB, free: 121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/9.538, allocations: 83.16 kB / 3.499 GB, free: 121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/9.54, allocations: 1.272 MB / 3.5 GB, free: 120.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/9.54, allocations: 0 / 3.5 GB, free: 120.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/9.54, allocations: 35.69 kB / 3.5 GB, free: 120.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/9.54, allocations: 46.2 kB / 3.5 GB, free: 120.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/9.541, allocations: 0.9905 MB / 3.501 GB, free: 119.6 MB / 0.698 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.00796/9.549, allocations: 5.778 MB / 3.507 GB, free: 115 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/9.551, allocations: 0.935 MB / 3.508 GB, free: 114.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000659/9.551, allocations: 0.4936 MB / 3.508 GB, free: 114.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007587/9.552, allocations: 0.58 MB / 3.509 GB, free: 113.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008774/9.553, allocations: 0.5992 MB / 3.51 GB, free: 113.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.006e-06/9.553, allocations: 0 / 3.51 GB, free: 113.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.00226/9.555, allocations: 1.094 MB / 3.511 GB, free: 112.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/9.555, allocations: 59.94 kB / 3.511 GB, free: 112.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/9.557, allocations: 1.091 MB / 3.512 GB, free: 112.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/9.557, allocations: 41.11 kB / 3.512 GB, free: 112.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004155/9.558, allocations: 0.5923 MB / 3.512 GB, free: 111.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/9.558, allocations: 271.8 kB / 3.513 GB, free: 111.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/9.558, allocations: 19.56 kB / 3.513 GB, free: 111.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/9.558, allocations: 341.1 kB / 3.513 GB, free: 111.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006188/9.559, allocations: 424.2 kB / 3.513 GB, free: 110.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008075/9.559, allocations: 0.7269 MB / 3.514 GB, free: 110.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/9.56, allocations: 471.7 kB / 3.515 GB, free: 110.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/9.56, allocations: 4 kB / 3.515 GB, free: 110 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001988/9.562, allocations: 1.249 MB / 3.516 GB, free: 108.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/9.562, allocations: 8 kB / 3.516 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/9.562, allocations: 8 kB / 3.516 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/9.562, allocations: 19.08 kB / 3.516 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/9.564, allocations: 306.5 kB / 3.516 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/9.564, allocations: 18.91 kB / 3.516 GB, free: 108.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/9.565, allocations: 234 kB / 3.516 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/9.565, allocations: 59.95 kB / 3.516 GB, free: 108.2 MB / 0.698 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.0002479/9.566, allocations: 182.9 kB / 3.517 GB, free: 108 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/9.566, allocations: 142.2 kB / 3.517 GB, free: 107.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/9.568, allocations: 1.217 MB / 3.518 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/9.568, allocations: 11.38 kB / 3.518 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/9.568, allocations: 0 / 3.518 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/9.568, allocations: 3.984 kB / 3.518 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/9.572, allocations: 2.729 MB / 3.521 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/9.572, allocations: 4 kB / 3.521 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/9.574, allocations: 261 kB / 3.521 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/9.574, allocations: 8 kB / 3.521 GB, free: 103.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-05/9.574, allocations: 31.97 kB / 3.521 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/9.574, allocations: 8 kB / 3.521 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/9.574, allocations: 7.938 kB / 3.521 GB, free: 103.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/9.577, allocations: 2.178 MB / 3.523 GB, free: 101.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008249/9.578, allocations: 343.2 kB / 3.523 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/9.578, allocations: 24 kB / 3.523 GB, free: 100.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/9.579, allocations: 141.2 kB / 3.523 GB, free: 100.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/9.579, allocations: 68.38 kB / 3.524 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-05/9.579, allocations: 43.22 kB / 3.524 GB, free: 100.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00118/9.581, allocations: 0.8423 MB / 3.524 GB, free: 99.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.71e-07/9.581, allocations: 0 / 3.524 GB, free: 99.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00211/9.583, allocations: 0.4996 MB / 3.525 GB, free: 99.26 MB / 0.698 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.003547/9.586, allocations: 1.983 MB / 3.527 GB, free: 97.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001853/9.588, allocations: 1.05 MB / 3.528 GB, free: 96.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/9.588, allocations: 0 / 3.528 GB, free: 96.78 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007829/9.589, allocations: 0.5378 MB / 3.528 GB, free: 96.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/9.592, allocations: 0.5529 MB / 3.529 GB, free: 95.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/9.606, allocations: 2.755 MB / 3.532 GB, free: 92.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/9.606, allocations: 1.204 MB / 3.533 GB, free: 91.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001795/9.608, allocations: 377.3 kB / 3.533 GB, free: 91.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/9.609, allocations: 130.2 kB / 3.533 GB, free: 91.24 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/9.609, allocations: 0 / 3.533 GB, free: 91.24 MB / 0.698 GB Notification: Performance of Templates: time 0.06174/9.671, allocations: 46.25 MB / 3.578 GB, free: 45.73 MB / 0.698 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)