Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8919/0.8919, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 172.9 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.719/1.719, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.001135/0.001135, allocations: 84.17 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001884, allocations: 275.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.087e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5673, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.959/5.526, allocations: 1.834 GB / 2.591 GB, free: 183.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/5.526, allocations: 96.31 kB / 2.591 GB, free: 183.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.197/9.724, allocations: 1.008 GB / 3.599 GB, free: 139 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.525e-06/9.724, allocations: 0.75 kB / 3.599 GB, free: 139 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000253/9.724, allocations: 43.97 kB / 3.599 GB, free: 139 MB / 0.7136 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.008384/9.733, allocations: 1.844 MB / 3.601 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/9.733, allocations: 11.81 kB / 3.601 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004426/9.737, allocations: 0.6918 MB / 3.602 GB, free: 138.4 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003876/9.741, allocations: 1.074 MB / 3.603 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.51e-05/9.741, allocations: 29.41 kB / 3.603 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/9.741, allocations: 50.81 kB / 3.603 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00143/9.743, allocations: 0.8305 MB / 3.603 GB, free: 138.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/9.744, allocations: 1.154 MB / 3.605 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/9.744, allocations: 1.688 kB / 3.605 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/9.745, allocations: 9.984 kB / 3.605 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/9.745, allocations: 44.19 kB / 3.605 GB, free: 137.9 MB / 0.7136 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.008146/9.753, allocations: 5.585 MB / 3.61 GB, free: 135 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/9.754, allocations: 0.8977 MB / 3.611 GB, free: 135 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005829/9.755, allocations: 482.5 kB / 3.611 GB, free: 135 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/9.755, allocations: 0.5798 MB / 3.612 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007657/9.756, allocations: 0.5697 MB / 3.613 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.577e-06/9.756, allocations: 3.438 kB / 3.613 GB, free: 134.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.00224/9.759, allocations: 1.062 MB / 3.614 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/9.759, allocations: 59.84 kB / 3.614 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/9.76, allocations: 0.8614 MB / 3.615 GB, free: 134.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/9.76, allocations: 34.58 kB / 3.615 GB, free: 134 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/9.761, allocations: 0.5954 MB / 3.615 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/9.761, allocations: 262.7 kB / 3.615 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.615e-05/9.761, allocations: 0 / 3.615 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/9.761, allocations: 348.1 kB / 3.616 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/9.762, allocations: 401.7 kB / 3.616 GB, free: 133.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/9.763, allocations: 0.736 MB / 3.617 GB, free: 133 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007254/9.763, allocations: 456.3 kB / 3.617 GB, free: 133 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/9.763, allocations: 0 / 3.617 GB, free: 133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001951/9.765, allocations: 1.16 MB / 3.618 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/9.765, allocations: 14.16 kB / 3.618 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/9.765, allocations: 7.875 kB / 3.618 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/9.765, allocations: 14.19 kB / 3.618 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/9.767, allocations: 312.4 kB / 3.619 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/9.767, allocations: 14.38 kB / 3.619 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/9.768, allocations: 193.7 kB / 3.619 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/9.769, allocations: 58.89 kB / 3.619 GB, free: 132.9 MB / 0.7136 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.0002603/9.769, allocations: 146.5 kB / 3.619 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/9.769, allocations: 124.5 kB / 3.619 GB, free: 132.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/9.771, allocations: 1.16 MB / 3.62 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/9.771, allocations: 7.594 kB / 3.62 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/9.771, allocations: 0 / 3.62 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/9.771, allocations: 5.891 kB / 3.62 GB, free: 132.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/9.776, allocations: 2.588 MB / 3.623 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/9.776, allocations: 3.938 kB / 3.623 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/9.777, allocations: 249 kB / 3.623 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.909e-05/9.777, allocations: 14.47 kB / 3.623 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.312e-05/9.777, allocations: 26.48 kB / 3.623 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-05/9.777, allocations: 13.22 kB / 3.623 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/9.777, allocations: 11.98 kB / 3.623 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002635/9.78, allocations: 2.084 MB / 3.625 GB, free: 131.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007149/9.781, allocations: 325.1 kB / 3.626 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003407/9.781, allocations: 12.78 kB / 3.626 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/9.782, allocations: 131.2 kB / 3.626 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/9.783, allocations: 65.73 kB / 3.626 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/9.783, allocations: 45.83 kB / 3.626 GB, free: 131.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001056/9.784, allocations: 0.6442 MB / 3.626 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/9.784, allocations: 0 / 3.626 GB, free: 131.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002131/9.786, allocations: 458.7 kB / 3.627 GB, free: 131.3 MB / 0.7136 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.003794/9.79, allocations: 2.16 MB / 3.629 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001834/9.792, allocations: 0.9999 MB / 3.63 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/9.792, allocations: 0 / 3.63 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008327/9.792, allocations: 0.5129 MB / 3.63 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/9.795, allocations: 439.3 kB / 3.631 GB, free: 130.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/9.809, allocations: 2.687 MB / 3.633 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/9.81, allocations: 1.212 MB / 3.635 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002326/9.813, allocations: 352.9 kB / 3.635 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006938/9.814, allocations: 117.7 kB / 3.635 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.443e-06/9.814, allocations: 0 / 3.635 GB, free: 129.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.05018/9.864, allocations: 27.36 MB / 3.662 GB, free: 128.4 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)