Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.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.001306/0.001306, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001474/0.001474, allocations: 213.3 kB / 23 MB, free: 4.934 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.361/3.361, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ter.QActHea_flow|terUniMul.QActHea_flow|terUniMulZonMul.QActHea_flow|ter.QReqHea_flow|QHea_flow_nominal|ter.mReqHeaWat_flow|terUniMul.mReqHeaWat_flow|terUniMulZonMul.mReqHeaWat_flow|ter.mHeaWat_flow_nominal|ter.TLoaODE.TAir|terUniMul.TLoaODE.TAir|terUniMulZonMul.TLoaODE.TAir|TSet.y",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling") translateModel(Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ter.QActHea_flow|terUniMul.QActHea_flow|terUniMulZonMul.QActHea_flow|ter.QReqHea_flow|QHea_flow_nominal|ter.mReqHeaWat_flow|terUniMul.mReqHeaWat_flow|terUniMulZonMul.mReqHeaWat_flow|ter.mHeaWat_flow_nominal|ter.TLoaODE.TAir|terUniMul.TLoaODE.TAir|terUniMulZonMul.TLoaODE.TAir|TSet.y",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling") [Timeout 300] "Notification: Buildings 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.002084/0.002084, allocations: 70.34 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4529, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling): time 1.62/2.073, allocations: 461.4 MB / 1.778 GB, free: 12.53 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.1417/2.215, allocations: 82.62 MB / 1.858 GB, free: 4.605 MB / 1.357 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02125/2.236, allocations: 441.9 kB / 1.859 GB, free: 4.383 MB / 1.357 GB Notification: Performance of NFTyping.typeComponents: time 0.02041/2.257, allocations: 5.513 MB / 1.864 GB, free: 15.91 MB / 1.373 GB Notification: Performance of NFTyping.typeBindings: time 0.04976/2.306, allocations: 13.92 MB / 1.878 GB, free: 1.949 MB / 1.373 GB Notification: Performance of NFTyping.typeClassSections: time 0.02445/2.331, allocations: 8.302 MB / 1.886 GB, free: 9.707 MB / 1.389 GB Notification: Performance of NFFlatten.flatten: time 0.04966/2.381, allocations: 27.73 MB / 1.913 GB, free: 13.91 MB / 1.42 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01562/2.396, allocations: 6.093 MB / 1.919 GB, free: 7.695 MB / 1.42 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03685/2.433, allocations: 12.63 MB / 1.931 GB, free: 11.03 MB / 1.436 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01407/2.447, allocations: 5.818 MB / 1.937 GB, free: 5.211 MB / 1.436 GB Notification: Performance of NFPackage.collectConstants: time 0.004212/2.451, allocations: 0.8828 MB / 1.938 GB, free: 4.328 MB / 1.436 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02409/2.475, allocations: 8.223 MB / 1.946 GB, free: 12.09 MB / 1.451 GB Notification: Performance of NFScalarize.scalarize: time 0.006717/2.482, allocations: 2.955 MB / 1.949 GB, free: 9.121 MB / 1.451 GB Notification: Performance of NFVerifyModel.verify: time 0.01258/2.495, allocations: 3.981 MB / 1.953 GB, free: 5.121 MB / 1.451 GB Notification: Performance of NFConvertDAE.convert: time 0.03886/2.534, allocations: 17.86 MB / 1.97 GB, free: 3.203 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/2.534, allocations: 0 / 1.97 GB, free: 3.203 MB / 1.467 GB Notification: Performance of FrontEnd: time 1.843e-06/2.534, allocations: 0 / 1.97 GB, free: 3.203 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.0005973/2.534, allocations: 4 kB / 1.97 GB, free: 3.199 MB / 1.467 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1230 * Number of variables: 1230 Notification: Performance of Generate backend data structure: time 0.03831/2.572, allocations: 11.86 MB / 1.982 GB, free: 7.199 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 7.051e-05/2.573, allocations: 11.97 kB / 1.982 GB, free: 7.188 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/2.589, allocations: 2.569 MB / 1.984 GB, free: 4.609 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04151/2.631, allocations: 17.81 MB / 2.002 GB, free: 2.656 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006359/2.631, allocations: 413.5 kB / 2.002 GB, free: 2.25 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001999/2.633, allocations: 0.5078 MB / 2.002 GB, free: 1.742 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01813/2.651, allocations: 6.772 MB / 2.009 GB, free: 10.36 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/2.651, allocations: 19.81 kB / 2.009 GB, free: 10.34 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008471/2.652, allocations: 212 kB / 2.009 GB, free: 10.14 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002415/2.653, allocations: 184.5 kB / 2.009 GB, free: 9.953 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/2.667, allocations: 4.572 MB / 2.014 GB, free: 5.363 MB / 1.514 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.05457/2.722, allocations: 25.11 MB / 2.038 GB, free: 11.55 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007887/2.729, allocations: 2.643 MB / 2.041 GB, free: 8.91 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003752/2.733, allocations: 1.338 MB / 2.042 GB, free: 7.57 MB / 1.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008599/2.734, allocations: 197.9 kB / 2.042 GB, free: 7.379 MB / 1.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004954/2.739, allocations: 2.28 MB / 2.045 GB, free: 4.906 MB / 1.545 GB Notification: Performance of pre-optimization done (n=223): time 8.436e-06/2.739, allocations: 0 / 2.045 GB, free: 4.906 MB / 1.545 GB Notification: Performance of matching and sorting (n=223): time 0.02211/2.761, allocations: 5.845 MB / 2.05 GB, free: 15.04 MB / 1.561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002518/2.761, allocations: 415.5 kB / 2.051 GB, free: 14.54 MB / 1.561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01934/2.781, allocations: 7.355 MB / 2.058 GB, free: 7.215 MB / 1.561 GB Notification: Performance of collectPreVariables (initialization): time 0.001133/2.782, allocations: 97.7 kB / 2.058 GB, free: 7.113 MB / 1.561 GB Notification: Performance of collectInitialEqns (initialization): time 0.006453/2.788, allocations: 4.018 MB / 2.062 GB, free: 3.074 MB / 1.561 GB Notification: Performance of collectInitialBindings (initialization): time 0.001676/2.79, allocations: 0.8252 MB / 2.063 GB, free: 2.242 MB / 1.561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00278/2.793, allocations: 1.21 MB / 2.064 GB, free: 1.023 MB / 1.561 GB Notification: Performance of setup shared object (initialization): time 0.0001547/2.793, allocations: 301.1 kB / 2.064 GB, free: 0.7266 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005491/2.798, allocations: 2.149 MB / 2.066 GB, free: 14.56 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009339/2.808, allocations: 5.676 MB / 2.072 GB, free: 7.664 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/2.82, allocations: 5.612 MB / 2.077 GB, free: 1.344 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.319e-05/2.82, allocations: 16 kB / 2.077 GB, free: 1.328 MB / 1.576 GB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02044/2.84, allocations: 7.093 MB / 2.084 GB, free: 10.17 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/2.841, allocations: 28 kB / 2.084 GB, free: 10.14 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-05/2.841, allocations: 48 kB / 2.084 GB, free: 10.1 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/2.844, allocations: 0.7328 MB / 2.085 GB, free: 9.355 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005288/2.849, allocations: 1.077 MB / 2.086 GB, free: 8.277 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003674/2.853, allocations: 2.588 MB / 2.089 GB, free: 5.613 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009097/2.862, allocations: 0.7215 MB / 2.089 GB, free: 4.891 MB / 1.592 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/2.863, allocations: 251.9 kB / 2.09 GB, free: 4.645 MB / 1.592 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0105/2.873, allocations: 3.731 MB / 2.093 GB, free: 0.9023 MB / 1.592 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00899/2.882, allocations: 5.582 MB / 2.099 GB, free: 10.1 MB / 1.607 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01143/2.894, allocations: 5.494 MB / 2.104 GB, free: 3.891 MB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.361e-05/2.894, allocations: 16 kB / 2.104 GB, free: 3.875 MB / 1.607 GB Notification: Performance of matching and sorting (n=700) (initialization_lambda0): time 0.01871/2.913, allocations: 6.818 MB / 2.111 GB, free: 13 MB / 1.623 GB Notification: Performance of prepare postOptimizeDAE: time 5.471e-05/2.913, allocations: 26.19 kB / 2.111 GB, free: 12.98 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.291e-05/2.913, allocations: 48 kB / 2.111 GB, free: 12.93 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/2.915, allocations: 0.5233 MB / 2.111 GB, free: 12.4 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00508/2.92, allocations: 1.065 MB / 2.112 GB, free: 11.33 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/2.922, allocations: 2.351 MB / 2.115 GB, free: 8.906 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008083/2.931, allocations: 0.5997 MB / 2.115 GB, free: 8.305 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/2.932, allocations: 251.9 kB / 2.116 GB, free: 8.059 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 15 (terUniMulZonMul.con1.y,terUniMul.con1.y,ter.con1.y,terUniMulZonMul.hex.flowRegime_nominal,terUniMul.hex.flowRegime_nominal,ter.hex.flowRegime_nominal,ter.greThr.greHys.y,$PRE.ter.greThr.greHys.y,terUniMul.greThr.greHys.y,$PRE.terUniMul.greThr.greHys.y,terUniMulZonMul.greThr.greHys.y,$PRE.terUniMulZonMul.greThr.greHys.y,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 543 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,15), (1,17), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001598/2.933, allocations: 497.7 kB / 2.116 GB, free: 7.562 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002572/2.936, allocations: 0.7528 MB / 2.117 GB, free: 6.805 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/2.947, allocations: 3.8 MB / 2.12 GB, free: 2.977 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/2.947, allocations: 11.95 kB / 2.12 GB, free: 2.965 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/2.947, allocations: 4 kB / 2.12 GB, free: 2.961 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004698/2.951, allocations: 1.141 MB / 2.122 GB, free: 1.812 MB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002012/2.953, allocations: 48 kB / 2.122 GB, free: 1.766 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005324/2.959, allocations: 325 kB / 2.122 GB, free: 1.449 MB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/2.959, allocations: 157.7 kB / 2.122 GB, free: 1.297 MB / 1.623 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01204/2.971, allocations: 3.886 MB / 2.126 GB, free: 13.39 MB / 1.639 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01734/2.988, allocations: 5.437 MB / 2.131 GB, free: 7.926 MB / 1.639 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003769/2.992, allocations: 1.265 MB / 2.132 GB, free: 6.66 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.0108/3.003, allocations: 4.793 MB / 2.137 GB, free: 1.898 MB / 1.639 GB Notification: Performance of Backend: time 7.51e-07/3.003, allocations: 4 kB / 2.137 GB, free: 1.895 MB / 1.639 GB Notification: Performance of simCode: created initialization part: time 0.028/3.031, allocations: 8.289 MB / 2.145 GB, free: 9.633 MB / 1.654 GB Notification: Performance of SimCode: time 0.03957/3.071, allocations: 15.96 MB / 2.161 GB, free: 9.695 MB / 1.67 GB Notification: Performance of Templates: time 1.273/4.344, allocations: 175.9 MB / 2.333 GB, free: 0.7063 GB / 1.779 GB " [Timeout remaining time 296] make -j1 -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.sim & ./Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.BaseClasses.Validation.TerminalUnitScaling.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 18.71730188299989] Failed to read output from testmodel.py, exit status != 0: 4.356158900001901 4.37328253 1.835774487 Calling exit ...