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.001773/0.001773, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002384/0.002384, allocations: 212.1 kB / 22.24 MB, free: 5.262 MB / 14.72 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.593/1.593, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 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.00393/0.00393, allocations: 288.8 kB / 312.7 MB, free: 2.621 MB / 238.1 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.279/1.279, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003103/0.003103, allocations: 105 kB / 0.74 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1804, allocations: 95.38 MB / 0.8331 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6759/0.8563, allocations: 171.4 MB / 1.001 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.867, allocations: 5.018 MB / 1.005 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.8686, allocations: 65.25 kB / 1.005 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/0.8707, allocations: 0.8053 MB / 1.006 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008817/0.8795, allocations: 2.726 MB / 1.009 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003212/0.8828, allocations: 1.034 MB / 1.01 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005863/0.8886, allocations: 2.727 MB / 1.013 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/0.8903, allocations: 0.7522 MB / 1.013 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.8933, allocations: 1.165 MB / 1.014 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.8957, allocations: 1.025 MB / 1.015 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004794/0.8962, allocations: 89.22 kB / 1.016 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004354/0.9006, allocations: 1.488 MB / 1.017 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008465/0.9014, allocations: 470.6 kB / 1.017 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.9025, allocations: 0.5563 MB / 1.018 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004535/0.907, allocations: 2.184 MB / 1.02 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.907, allocations: 0 / 1.02 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.128e-06/0.9071, allocations: 4.281 kB / 1.02 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.9071, allocations: 0 / 1.02 GB, free: 3.148 MB / 0.7169 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.005201/0.9123, allocations: 1.954 MB / 1.022 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.9123, allocations: 15.38 kB / 1.022 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005346/0.9177, allocations: 0.9012 MB / 1.023 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.9197, allocations: 0.8827 MB / 1.024 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.9198, allocations: 70.7 kB / 1.024 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.9199, allocations: 92.72 kB / 1.024 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003524/0.9235, allocations: 1.589 MB / 1.025 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.9235, allocations: 2.656 kB / 1.026 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.9236, allocations: 36.03 kB / 1.026 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.9236, allocations: 50.36 kB / 1.026 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004863/0.9285, allocations: 1.856 MB / 1.027 GB, free: 17.65 MB / 0.7325 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.007531/0.936, allocations: 3.794 MB / 1.031 GB, free: 16.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/0.9403, allocations: 1.527 MB / 1.033 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/0.9425, allocations: 0.8222 MB / 1.033 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009257/0.9434, allocations: 195.9 kB / 1.034 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002402/0.9458, allocations: 0.9257 MB / 1.034 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 3.386e-06/0.9458, allocations: 0 / 1.034 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.007452/0.9533, allocations: 2.469 MB / 1.037 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.9533, allocations: 65.41 kB / 1.037 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.9547, allocations: 1.049 MB / 1.038 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.9548, allocations: 48.69 kB / 1.038 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.9553, allocations: 0.5669 MB / 1.039 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/0.9556, allocations: 348.6 kB / 1.039 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00034/0.9559, allocations: 187 kB / 1.039 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.9561, allocations: 342 kB / 1.039 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.9581, allocations: 0.7053 MB / 1.04 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.9605, allocations: 1.143 MB / 1.041 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004176/0.9647, allocations: 1.563 MB / 1.043 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.9647, allocations: 7.094 kB / 1.043 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004931/0.9696, allocations: 1.79 MB / 1.045 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.9696, allocations: 6.75 kB / 1.045 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.9696, allocations: 9.062 kB / 1.045 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/0.9697, allocations: 10.23 kB / 1.045 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/0.9714, allocations: 335.3 kB / 1.045 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.9714, allocations: 12.78 kB / 1.045 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.973, allocations: 215.9 kB / 1.045 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.9731, allocations: 54.55 kB / 1.045 GB, free: 14.21 MB / 0.7325 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.0006439/0.9737, allocations: 334.9 kB / 1.045 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.9739, allocations: 127.5 kB / 1.046 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005187/0.9791, allocations: 1.849 MB / 1.047 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.9791, allocations: 7.5 kB / 1.047 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.9791, allocations: 7.188 kB / 1.047 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.9791, allocations: 4.688 kB / 1.047 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007699/0.9868, allocations: 3.136 MB / 1.05 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9868, allocations: 6.594 kB / 1.05 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.9885, allocations: 299.8 kB / 1.051 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.9885, allocations: 12.73 kB / 1.051 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-05/0.9886, allocations: 34.09 kB / 1.051 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.9886, allocations: 8.125 kB / 1.051 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.9886, allocations: 5.469 kB / 1.051 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007714/0.9963, allocations: 2.905 MB / 1.054 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008129/0.9971, allocations: 240.5 kB / 1.054 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.9973, allocations: 20.5 kB / 1.054 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/0.9987, allocations: 159.5 kB / 1.054 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.9989, allocations: 76.41 kB / 1.054 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.676e-05/0.999, allocations: 47.91 kB / 1.054 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009386/0.9999, allocations: 0.7235 MB / 1.055 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.9999, allocations: 0 / 1.055 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00121/1.001, allocations: 368.9 kB / 1.055 GB, free: 10.79 MB / 0.7325 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.00201/1.003, allocations: 0.5577 MB / 1.056 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004985/1.008, allocations: 1.614 MB / 1.057 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/1.008, allocations: 1.75 kB / 1.057 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002501/1.011, allocations: 0.8277 MB / 1.058 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.013, allocations: 493.1 kB / 1.059 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/1.02, allocations: 3.033 MB / 1.062 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/1.02, allocations: 0.6059 MB / 1.062 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001339/1.022, allocations: 329.9 kB / 1.062 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/1.022, allocations: 109.5 kB / 1.063 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/1.022, allocations: 7.125 kB / 1.063 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of Templates: time 0.04032/1.062, allocations: 22.97 MB / 1.085 GB, free: 3.672 MB / 0.7481 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: 8.19285498559475] Failed to read output from testmodel.py, exit status != 0: 1.0712231434881687 1.089319905 0.17794083300000002 Calling exit ...