Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.0008157/0.0008157, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007945/0.0007945, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8395/0.8395, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.695/1.695, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.968e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.005799/0.005819, allocations: 6.245 MB / 0.9883 GB, free: 11.79 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5845/0.5903, allocations: 137 MB / 1.122 GB, free: 16.8 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.5917, allocations: 41.34 kB / 1.122 GB, free: 16.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003992/0.5956, allocations: 1.918 MB / 1.124 GB, free: 16.03 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.5975, allocations: 0.9391 MB / 1.125 GB, free: 15.46 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.5993, allocations: 1.043 MB / 1.126 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.6009, allocations: 2.462 MB / 1.128 GB, free: 13.66 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006998/0.6016, allocations: 0.6169 MB / 1.129 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.6027, allocations: 1.285 MB / 1.13 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007306/0.6034, allocations: 0.7709 MB / 1.131 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.6036, allocations: 192.7 kB / 1.131 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.6071, allocations: 2.525 MB / 1.134 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008027/0.6079, allocations: 1.177 MB / 1.135 GB, free: 11.35 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.6084, allocations: 0.6502 MB / 1.135 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004799/0.6132, allocations: 4.257 MB / 1.14 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6132, allocations: 0 / 1.14 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6132, allocations: 8.969 kB / 1.14 GB, free: 9.512 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.6132, allocations: 0 / 1.14 GB, free: 9.512 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002972/0.6162, allocations: 2.419 MB / 1.142 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.6162, allocations: 10.5 kB / 1.142 GB, free: 7.984 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.6174, allocations: 358.5 kB / 1.142 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.6201, allocations: 2.891 MB / 1.145 GB, free: 6.754 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.6201, allocations: 109.5 kB / 1.145 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.6203, allocations: 147.5 kB / 1.145 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.622, allocations: 1.634 MB / 1.147 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.622, allocations: 3.75 kB / 1.147 GB, free: 5.742 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.6221, allocations: 54 kB / 1.147 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.6222, allocations: 32.56 kB / 1.147 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.6239, allocations: 1.458 MB / 1.148 GB, free: 5.328 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004907/0.6288, allocations: 4.589 MB / 1.153 GB, free: 3.379 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.6304, allocations: 1.124 MB / 1.154 GB, free: 2.98 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/0.6309, allocations: 437 kB / 1.154 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/0.6309, allocations: 30.42 kB / 1.154 GB, free: 2.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008294/0.6318, allocations: 0.7841 MB / 1.155 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 2.264e-06/0.6318, allocations: 6.344 kB / 1.155 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of matching and sorting (n=110): time 0.002548/0.6343, allocations: 1.626 MB / 1.157 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.6344, allocations: 211.3 kB / 1.157 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/0.6379, allocations: 4.043 MB / 1.161 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.638, allocations: 63.28 kB / 1.161 GB, free: 0.5195 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.6384, allocations: 0.6712 MB / 1.162 GB, free: 15.99 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.6386, allocations: 372 kB / 1.162 GB, free: 15.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007652/0.6394, allocations: 0.9886 MB / 1.163 GB, free: 15.28 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.6394, allocations: 307.3 kB / 1.163 GB, free: 14.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00443/0.6439, allocations: 6.37 MB / 1.17 GB, free: 13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003793/0.6477, allocations: 6.751 MB / 1.176 GB, free: 10.73 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004661/0.6523, allocations: 7.559 MB / 1.184 GB, free: 7.898 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.6523, allocations: 0 / 1.184 GB, free: 7.898 MB / 1.01 GB Notification: Performance of matching and sorting (n=408) (initialization): time 0.01091/0.6632, allocations: 14.35 MB / 1.198 GB, free: 12.24 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6633, allocations: 8 kB / 1.198 GB, free: 12.23 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.6633, allocations: 128 / 1.198 GB, free: 12.23 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000323/0.6636, allocations: 91.39 kB / 1.198 GB, free: 12.16 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.6642, allocations: 258.8 kB / 1.198 GB, free: 11.95 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.6655, allocations: 1.508 MB / 1.199 GB, free: 10.39 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008241/0.6663, allocations: 132.3 kB / 1.199 GB, free: 10.28 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.153e-05/0.6664, allocations: 69.36 kB / 1.2 GB, free: 10.22 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 161 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008597/0.6673, allocations: 0.6353 MB / 1.2 GB, free: 9.613 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.6674, allocations: 142.2 kB / 1.2 GB, free: 9.477 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.6693, allocations: 1.514 MB / 1.202 GB, free: 8.188 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.6693, allocations: 14.39 kB / 1.202 GB, free: 8.176 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6693, allocations: 0 / 1.202 GB, free: 8.176 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.6693, allocations: 8.453 kB / 1.202 GB, free: 8.172 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.6725, allocations: 2.632 MB / 1.204 GB, free: 5.91 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6725, allocations: 3.938 kB / 1.204 GB, free: 5.906 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003885/0.6729, allocations: 188.9 kB / 1.205 GB, free: 5.746 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000211/0.6731, allocations: 73.06 kB / 1.205 GB, free: 5.691 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.6731, allocations: 34.8 kB / 1.205 GB, free: 5.664 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.6742, allocations: 1.527 MB / 1.206 GB, free: 4.094 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6742, allocations: 3.938 kB / 1.206 GB, free: 4.09 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.6757, allocations: 1.402 MB / 1.208 GB, free: 2.809 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.6761, allocations: 286.6 kB / 1.208 GB, free: 2.574 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.6762, allocations: 31.95 kB / 1.208 GB, free: 2.543 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.6766, allocations: 73.61 kB / 1.208 GB, free: 2.492 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6767, allocations: 94.64 kB / 1.208 GB, free: 2.441 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.236e-05/0.6768, allocations: 47.08 kB / 1.208 GB, free: 2.402 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001597/0.6784, allocations: 2.591 MB / 1.211 GB, free: 15.91 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.6784, allocations: 0 / 1.211 GB, free: 15.91 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002717/0.6811, allocations: 1.052 MB / 1.212 GB, free: 14.85 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,HDirTil.incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/0.6828, allocations: 1.081 MB / 1.213 GB, free: 13.98 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.004907/0.6877, allocations: 7.162 MB / 1.22 GB, free: 6.809 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6877, allocations: 0 / 1.22 GB, free: 6.809 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.6884, allocations: 0.6506 MB / 1.22 GB, free: 6.145 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009364/0.6894, allocations: 355 kB / 1.221 GB, free: 5.824 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.6931, allocations: 3.499 MB / 1.224 GB, free: 2.285 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/0.6935, allocations: 0.7352 MB / 1.225 GB, free: 1.512 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.6939, allocations: 176.4 kB / 1.225 GB, free: 1.34 MB / 1.042 GB Notification: Performance of SimCode: time 8.62e-07/0.6939, allocations: 0 / 1.225 GB, free: 1.34 MB / 1.042 GB Notification: Performance of Templates: time 0.03392/0.7278, allocations: 39.89 MB / 1.264 GB, free: 10.01 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 11.53073748294264] Failed to read output from testmodel.py, exit status != 0: 0.7332406025379896 0.741602803 0.126806001 Calling exit ...