Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8608/0.8608, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.00105/0.00105, allocations: 176.9 kB / 182.2 MB, free: 9.477 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.457/1.457, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0009866/0.0009865, allocations: 99.97 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 277.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.666e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4196, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.874/5.293, allocations: 1.834 GB / 2.591 GB, free: 226.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/5.294, allocations: 91.83 kB / 2.591 GB, free: 226.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.578/8.872, allocations: 1.008 GB / 3.599 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/8.872, allocations: 0 / 3.599 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001175/8.872, allocations: 47.97 kB / 3.599 GB, free: 9.492 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.007422/8.879, allocations: 1.841 MB / 3.601 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.533e-05/8.879, allocations: 8.031 kB / 3.601 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004441/8.884, allocations: 0.6967 MB / 3.601 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/8.887, allocations: 1.083 MB / 3.602 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/8.887, allocations: 24 kB / 3.602 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/8.888, allocations: 52 kB / 3.603 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001564/8.889, allocations: 0.8746 MB / 3.603 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/8.891, allocations: 1.137 MB / 3.605 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/8.891, allocations: 3.938 kB / 3.605 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/8.891, allocations: 4 kB / 3.605 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/8.891, allocations: 41.98 kB / 3.605 GB, free: 3.562 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.4896/9.381, allocations: 5.093 MB / 3.61 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/9.383, allocations: 0.8804 MB / 3.61 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000755/9.383, allocations: 476.3 kB / 3.611 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/9.384, allocations: 0.9439 MB / 3.612 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009969/9.385, allocations: 0.5864 MB / 3.612 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 3.577e-06/9.386, allocations: 3.312 kB / 3.612 GB, free: 133.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82): time 0.003089/9.389, allocations: 1.128 MB / 3.613 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/9.389, allocations: 61.36 kB / 3.614 GB, free: 133.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/9.39, allocations: 0.8486 MB / 3.614 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/9.39, allocations: 28.64 kB / 3.614 GB, free: 133.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/9.391, allocations: 0.5951 MB / 3.615 GB, free: 133.3 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/9.391, allocations: 269.8 kB / 3.615 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/9.391, allocations: 1.219 kB / 3.615 GB, free: 133.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001087/9.391, allocations: 346.2 kB / 3.616 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/9.392, allocations: 406.5 kB / 3.616 GB, free: 132.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008944/9.393, allocations: 0.7123 MB / 3.617 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007511/9.394, allocations: 469.3 kB / 3.617 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/9.394, allocations: 2.656 kB / 3.617 GB, free: 132.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001928/9.396, allocations: 1.164 MB / 3.618 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/9.396, allocations: 6.219 kB / 3.618 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/9.396, allocations: 10.81 kB / 3.618 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/9.396, allocations: 12.12 kB / 3.618 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/9.397, allocations: 319.3 kB / 3.619 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/9.397, allocations: 14.42 kB / 3.619 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/9.399, allocations: 186.4 kB / 3.619 GB, free: 132.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/9.399, allocations: 57.52 kB / 3.619 GB, free: 132.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0002272/9.399, allocations: 133.1 kB / 3.619 GB, free: 132.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/9.399, allocations: 126.1 kB / 3.619 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/9.401, allocations: 1.184 MB / 3.62 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/9.401, allocations: 17.34 kB / 3.62 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/9.401, allocations: 0 / 3.62 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/9.401, allocations: 7.359 kB / 3.62 GB, free: 132.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/9.406, allocations: 2.597 MB / 3.623 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/9.406, allocations: 7.891 kB / 3.623 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/9.407, allocations: 263 kB / 3.623 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/9.407, allocations: 7.25 kB / 3.623 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.922e-05/9.407, allocations: 26.17 kB / 3.623 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/9.407, allocations: 9.125 kB / 3.623 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/9.407, allocations: 10.06 kB / 3.623 GB, free: 131.7 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/9.41, allocations: 2.119 MB / 3.625 GB, free: 131.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/9.41, allocations: 332.6 kB / 3.625 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/9.41, allocations: 9.219 kB / 3.625 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/9.411, allocations: 134.2 kB / 3.626 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/9.412, allocations: 58.81 kB / 3.626 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/9.412, allocations: 45.56 kB / 3.626 GB, free: 130.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008121/9.413, allocations: 0.6406 MB / 3.626 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/9.413, allocations: 1.969 kB / 3.626 GB, free: 130.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001613/9.414, allocations: 454.3 kB / 3.627 GB, free: 130.8 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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.003149/9.417, allocations: 2.171 MB / 3.629 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001539/9.419, allocations: 1.002 MB / 3.63 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/9.419, allocations: 0 / 3.63 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/9.42, allocations: 0.5206 MB / 3.63 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/9.422, allocations: 428.5 kB / 3.631 GB, free: 130.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/9.425, allocations: 1.982 MB / 3.633 GB, free: 129.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/9.426, allocations: 1.217 MB / 3.634 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001555/9.427, allocations: 348 kB / 3.634 GB, free: 129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/9.428, allocations: 115.6 kB / 3.634 GB, free: 129 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/9.428, allocations: 0 / 3.634 GB, free: 129 MB / 0.7136 GB Notification: Performance of Templates: time 0.0441/9.472, allocations: 27.57 MB / 3.661 GB, free: 128.3 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)