Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 92.7 kB / 19.44 MB, free: 320 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 165.3 kB / 22.76 MB, free: 1.645 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002769/0.002769, allocations: 236.7 kB / 259.8 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.082/1.082, allocations: 138.4 MB / 454.7 MB, free: 1.473 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.513e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4123/0.4123, allocations: 171.2 MB / 0.7215 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.4232, allocations: 5.017 MB / 0.7264 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.4246, allocations: 67.38 kB / 0.7265 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.4269, allocations: 0.8117 MB / 0.7273 GB, free: 9.512 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007501/0.4344, allocations: 2.787 MB / 0.73 GB, free: 6.711 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.4373, allocations: 1.083 MB / 0.7311 GB, free: 5.625 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003809/0.4411, allocations: 2.769 MB / 0.7338 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.4424, allocations: 0.7957 MB / 0.7345 GB, free: 2.043 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.4448, allocations: 1.465 MB / 0.736 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.4462, allocations: 0.935 MB / 0.7369 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.4464, allocations: 92 kB / 0.737 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00296/0.4493, allocations: 1.511 MB / 0.7385 GB, free: 14.03 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005417/0.4499, allocations: 490.4 kB / 0.7389 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005944/0.4505, allocations: 458.8 kB / 0.7394 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003104/0.4536, allocations: 2.239 MB / 0.7415 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4536, allocations: 0 / 0.7415 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4536, allocations: 0 / 0.7415 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.913e-05/0.4536, allocations: 4 kB / 0.7415 GB, free: 10.85 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005496/0.4591, allocations: 1.946 MB / 0.7434 GB, free: 8.863 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.4591, allocations: 12.75 kB / 0.7435 GB, free: 8.852 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006075/0.4652, allocations: 1.017 MB / 0.7445 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.467, allocations: 0.931 MB / 0.7454 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.072e-05/0.4671, allocations: 70 kB / 0.7454 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.4673, allocations: 99.81 kB / 0.7455 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.4714, allocations: 1.594 MB / 0.7471 GB, free: 5.074 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.4714, allocations: 4 kB / 0.7471 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.4715, allocations: 35.98 kB / 0.7471 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.951e-05/0.4716, allocations: 49.98 kB / 0.7472 GB, free: 4.988 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005815/0.4774, allocations: 1.858 MB / 0.749 GB, free: 3.125 MB / 0.5573 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.008421/0.4858, allocations: 3.823 MB / 0.7527 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00497/0.4908, allocations: 1.529 MB / 0.7542 GB, free: 13.69 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/0.4933, allocations: 0.8116 MB / 0.755 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.4944, allocations: 204.8 kB / 0.7552 GB, free: 12.68 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002746/0.4971, allocations: 0.9183 MB / 0.7561 GB, free: 11.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=95): time 3.667e-06/0.4971, allocations: 0 / 0.7561 GB, free: 11.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=95): time 0.00917/0.5063, allocations: 2.514 MB / 0.7585 GB, free: 9.223 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.5063, allocations: 68.34 kB / 0.7586 GB, free: 9.145 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.5079, allocations: 1.043 MB / 0.7596 GB, free: 8.082 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.5081, allocations: 49.7 kB / 0.7597 GB, free: 8.027 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00062/0.5087, allocations: 0.5756 MB / 0.7602 GB, free: 7.445 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004077/0.5091, allocations: 337.1 kB / 0.7606 GB, free: 7.113 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004245/0.5095, allocations: 186.6 kB / 0.7607 GB, free: 6.926 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5097, allocations: 341.9 kB / 0.7611 GB, free: 6.586 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00245/0.5122, allocations: 0.7005 MB / 0.7617 GB, free: 5.883 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/0.515, allocations: 1.149 MB / 0.7629 GB, free: 4.613 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005032/0.5201, allocations: 1.565 MB / 0.7644 GB, free: 2.992 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5201, allocations: 0 / 0.7644 GB, free: 2.992 MB / 0.573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005759/0.5258, allocations: 1.824 MB / 0.7662 GB, free: 1.156 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5259, allocations: 8 kB / 0.7662 GB, free: 1.148 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.5259, allocations: 8.375 kB / 0.7662 GB, free: 1.141 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.177e-05/0.5259, allocations: 15.98 kB / 0.7662 GB, free: 1.125 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001987/0.5279, allocations: 343.5 kB / 0.7665 GB, free: 0.7891 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.044e-05/0.5279, allocations: 11.94 kB / 0.7666 GB, free: 0.7773 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/0.5296, allocations: 215.2 kB / 0.7668 GB, free: 0.5664 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.5298, allocations: 51.97 kB / 0.7668 GB, free: 0.5156 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006642/0.5304, allocations: 335.5 kB / 0.7671 GB, free: 184 kB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003906/0.5308, allocations: 155.2 kB / 0.7673 GB, free: 28 kB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006001/0.5368, allocations: 1.853 MB / 0.7691 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.5368, allocations: 8 kB / 0.7691 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5368, allocations: 0 / 0.7691 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.5369, allocations: 7.984 kB / 0.7691 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00881/0.5457, allocations: 3.133 MB / 0.7722 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.5457, allocations: 8.969 kB / 0.7722 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.5476, allocations: 295.6 kB / 0.7724 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.53e-05/0.5476, allocations: 8 kB / 0.7725 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.5477, allocations: 31.97 kB / 0.7725 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.619e-05/0.5477, allocations: 15.88 kB / 0.7725 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.5477, allocations: 5.438 kB / 0.7725 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00865/0.5564, allocations: 2.932 MB / 0.7754 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/0.557, allocations: 234.9 kB / 0.7756 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/0.5572, allocations: 27.98 kB / 0.7756 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.5587, allocations: 163.8 kB / 0.7758 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.5589, allocations: 68.88 kB / 0.7758 GB, free: 7.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.5591, allocations: 43.97 kB / 0.7759 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00115/0.5602, allocations: 0.7295 MB / 0.7766 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.5602, allocations: 0 / 0.7766 GB, free: 6.32 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001262/0.5615, allocations: 375.4 kB / 0.777 GB, free: 5.953 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002391/0.5639, allocations: 0.5532 MB / 0.7775 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005716/0.5696, allocations: 1.613 MB / 0.7791 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.5696, allocations: 0 / 0.7791 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002681/0.5723, allocations: 0.8302 MB / 0.7799 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.5748, allocations: 0.5342 MB / 0.7804 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/0.5817, allocations: 2.929 MB / 0.7833 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.5825, allocations: 0.6106 MB / 0.7839 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001355/0.5839, allocations: 328.3 kB / 0.7842 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005127/0.5844, allocations: 112.4 kB / 0.7843 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of SimCode: time 1.223e-06/0.5844, allocations: 0 / 0.7843 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.04106/0.6254, allocations: 21.27 MB / 0.805 GB, free: 9.789 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.813236908055842]