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.8424/0.8424, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001863/0.001863, allocations: 175.6 kB / 191.5 MB, free: 5.762 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.589/1.589, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009724/0.0009724, allocations: 92.25 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 274.7 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004583, allocations: 17.44 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1991, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.96/5.159, allocations: 1.834 GB / 2.608 GB, free: 189 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/5.16, allocations: 91.52 kB / 2.608 GB, free: 188.9 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.088/8.247, allocations: 1.02 GB / 3.629 GB, free: 72 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.876e-06/8.247, allocations: 3.938 kB / 3.629 GB, free: 68 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001168/8.248, allocations: 51.86 kB / 3.629 GB, free: 16 kB / 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.3987/8.646, allocations: 2.044 MB / 3.631 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/8.646, allocations: 10.28 kB / 3.631 GB, free: 124.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004263/8.651, allocations: 0.6935 MB / 3.631 GB, free: 124.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003704/8.654, allocations: 1.077 MB / 3.632 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/8.654, allocations: 73.06 kB / 3.632 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/8.655, allocations: 82.16 kB / 3.632 GB, free: 123.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/8.658, allocations: 1.465 MB / 3.634 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/8.658, allocations: 5.469 kB / 3.634 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/8.658, allocations: 33.89 kB / 3.634 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-05/8.659, allocations: 41.05 kB / 3.634 GB, free: 123.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/8.663, allocations: 1.384 MB / 3.635 GB, free: 123.6 MB / 0.7136 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.009646/8.672, allocations: 5.787 MB / 3.641 GB, free: 120.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/8.676, allocations: 1.393 MB / 3.642 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/8.677, allocations: 0.5868 MB / 3.643 GB, free: 120.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/8.679, allocations: 0.7833 MB / 3.644 GB, free: 120 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 3.837e-06/8.679, allocations: 0.6875 kB / 3.644 GB, free: 120 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.006473/8.685, allocations: 2.076 MB / 3.646 GB, free: 119.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/8.685, allocations: 59.78 kB / 3.646 GB, free: 119.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/8.688, allocations: 1.107 MB / 3.647 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/8.688, allocations: 49.64 kB / 3.647 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/8.688, allocations: 0.5918 MB / 3.647 GB, free: 119.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/8.689, allocations: 276.4 kB / 3.648 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/8.689, allocations: 20.06 kB / 3.648 GB, free: 119.4 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.788e-05/8.689, allocations: 343.4 kB / 3.648 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/8.691, allocations: 0.6034 MB / 3.649 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/8.693, allocations: 0.9425 MB / 3.65 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/8.695, allocations: 0.654 MB / 3.65 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/8.695, allocations: 1.344 kB / 3.65 GB, free: 118.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004829/8.699, allocations: 1.635 MB / 3.652 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/8.699, allocations: 7.5 kB / 3.652 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/8.699, allocations: 7.562 kB / 3.652 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.443e-05/8.7, allocations: 13.38 kB / 3.652 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/8.701, allocations: 315.5 kB / 3.652 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.187e-05/8.701, allocations: 16.12 kB / 3.652 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/8.703, allocations: 242 kB / 3.652 GB, free: 118.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/8.703, allocations: 56.39 kB / 3.652 GB, free: 118.5 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 () * Number of clocked 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.0008462/8.704, allocations: 346.2 kB / 3.653 GB, free: 118.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/8.705, allocations: 135.8 kB / 3.653 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004805/8.709, allocations: 1.609 MB / 3.655 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/8.71, allocations: 12.31 kB / 3.655 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/8.71, allocations: 2.969 kB / 3.655 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/8.71, allocations: 9.891 kB / 3.655 GB, free: 118.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006759/8.716, allocations: 3.122 MB / 3.658 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/8.716, allocations: 8.906 kB / 3.658 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/8.718, allocations: 244.6 kB / 3.658 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/8.718, allocations: 11.25 kB / 3.658 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.533e-05/8.718, allocations: 42.34 kB / 3.658 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/8.718, allocations: 10.77 kB / 3.658 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/8.718, allocations: 8.469 kB / 3.658 GB, free: 117.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005653/8.724, allocations: 2.749 MB / 3.661 GB, free: 117.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008579/8.724, allocations: 350.4 kB / 3.661 GB, free: 117 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/8.725, allocations: 25.25 kB / 3.661 GB, free: 117 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001327/8.726, allocations: 143 kB / 3.661 GB, free: 117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/8.726, allocations: 64.77 kB / 3.661 GB, free: 117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.193e-05/8.726, allocations: 44.12 kB / 3.661 GB, free: 117 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001112/8.727, allocations: 0.8566 MB / 3.662 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/8.727, allocations: 0 / 3.662 GB, free: 116.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002121/8.73, allocations: 0.5104 MB / 3.663 GB, free: 116.9 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) * Number of clocked states: 0 () * 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.00326/8.733, allocations: 2.025 MB / 3.664 GB, free: 116.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003765/8.737, allocations: 1.431 MB / 3.666 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/8.737, allocations: 6.312 kB / 3.666 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00178/8.738, allocations: 0.7313 MB / 3.667 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/8.741, allocations: 0.5684 MB / 3.667 GB, free: 116.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/8.757, allocations: 3.772 MB / 3.671 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/8.758, allocations: 1.207 MB / 3.672 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001809/8.759, allocations: 382 kB / 3.672 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/8.76, allocations: 124.3 kB / 3.673 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.883e-06/8.76, allocations: 0 / 3.673 GB, free: 114.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.05699/8.817, allocations: 42.34 MB / 3.714 GB, free: 113 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)