Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 116.4 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 489.3 MB / 0.7687 GB, free: 3.727 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winRad.HDif|winRad.HDir|winRad.QTraDif_flow|winRad.QTraDir_flow|winRad.QAbsExtSha_flow|winRad.QAbsIntSha_flow|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.|winRad.QAbsGlaSha_flow.1.|winRad.QAbsGlaSha_flow.2.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.89 kB / 1.103 GB, free: 0.7227 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9001/0.9021, allocations: 163.8 MB / 1.263 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00851/0.9106, allocations: 8.211 MB / 1.271 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1982/1.109, allocations: 159.5 MB / 1.426 GB, free: 11.08 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/1.111, allocations: 42.03 kB / 1.426 GB, free: 11.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005432/1.116, allocations: 1.981 MB / 1.428 GB, free: 9.723 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004157/1.121, allocations: 1.276 MB / 1.43 GB, free: 8.754 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003806/1.124, allocations: 1.445 MB / 1.431 GB, free: 7.652 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006723/1.131, allocations: 5.438 MB / 1.436 GB, free: 4.305 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/1.133, allocations: 1.113 MB / 1.437 GB, free: 3.637 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/1.136, allocations: 1.694 MB / 1.439 GB, free: 2.641 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/1.138, allocations: 1.493 MB / 1.441 GB, free: 1.66 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004464/1.139, allocations: 277 kB / 1.441 GB, free: 1.555 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/1.143, allocations: 2.352 MB / 1.443 GB, free: 15.2 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.002645/1.146, allocations: 2.84 MB / 1.446 GB, free: 12.36 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/1.148, allocations: 1.419 MB / 1.447 GB, free: 10.93 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007409/1.155, allocations: 5.197 MB / 1.452 GB, free: 5.715 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.155, allocations: 0 / 1.452 GB, free: 5.715 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.283e-06/1.155, allocations: 0 / 1.452 GB, free: 5.715 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.706e-05/1.155, allocations: 0 / 1.452 GB, free: 5.715 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.006124/1.161, allocations: 3.493 MB / 1.456 GB, free: 2.145 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/1.161, allocations: 8.031 kB / 1.456 GB, free: 2.137 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.163, allocations: 370.9 kB / 1.456 GB, free: 1.773 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008352/1.171, allocations: 7.466 MB / 1.463 GB, free: 10.23 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/1.171, allocations: 138.9 kB / 1.464 GB, free: 10.1 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003114/1.172, allocations: 184 kB / 1.464 GB, free: 9.918 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003577/1.175, allocations: 1.96 MB / 1.466 GB, free: 7.879 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/1.175, allocations: 7.938 kB / 1.466 GB, free: 7.871 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/1.175, allocations: 64 kB / 1.466 GB, free: 7.809 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/1.175, allocations: 36 kB / 1.466 GB, free: 7.773 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/1.179, allocations: 1.982 MB / 1.468 GB, free: 5.785 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/1.194, allocations: 10.71 MB / 1.478 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003031/1.197, allocations: 1.785 MB / 1.48 GB, free: 9.035 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/1.198, allocations: 1.081 MB / 1.481 GB, free: 7.949 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.69e-05/1.198, allocations: 41 kB / 1.481 GB, free: 7.914 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001789/1.2, allocations: 1.188 MB / 1.482 GB, free: 6.703 MB / 1.17 GB Notification: Performance of pre-optimization done (n=117): time 5.2e-06/1.2, allocations: 3.984 kB / 1.482 GB, free: 6.699 MB / 1.17 GB Notification: Performance of matching and sorting (n=117): time 0.006805/1.207, allocations: 3.468 MB / 1.486 GB, free: 3.199 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002636/1.207, allocations: 342.5 kB / 1.486 GB, free: 2.816 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01521/1.222, allocations: 11.59 MB / 1.497 GB, free: 7.191 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004958/1.223, allocations: 65.7 kB / 1.497 GB, free: 7.121 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.224, allocations: 0.9819 MB / 1.498 GB, free: 6.129 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000513/1.225, allocations: 412.6 kB / 1.499 GB, free: 5.723 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002695/1.227, allocations: 2.724 MB / 1.501 GB, free: 2.984 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.227, allocations: 305.1 kB / 1.502 GB, free: 2.684 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02011/1.248, allocations: 20.11 MB / 1.521 GB, free: 14.57 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02204/1.27, allocations: 20.7 MB / 1.541 GB, free: 9.816 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0256/1.295, allocations: 23.57 MB / 1.564 GB, free: 2.121 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/1.295, allocations: 0 / 1.564 GB, free: 2.121 MB / 1.248 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.05138/1.347, allocations: 44.26 MB / 1.608 GB, free: 5.723 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002603/1.347, allocations: 165.6 kB / 1.608 GB, free: 5.555 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/1.347, allocations: 7.938 kB / 1.608 GB, free: 5.547 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000654/1.348, allocations: 89.09 kB / 1.608 GB, free: 5.457 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/1.35, allocations: 403.4 kB / 1.608 GB, free: 5.062 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/1.352, allocations: 1.644 MB / 1.61 GB, free: 3.273 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002973/1.355, allocations: 247.7 kB / 1.61 GB, free: 3.031 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007444/1.356, allocations: 107.9 kB / 1.61 GB, free: 2.926 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,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 (279): * Single equations (assignments): 241 * Array equations: 36 * Algorithm blocks: 1 * 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.003/1.359, allocations: 1.547 MB / 1.612 GB, free: 1.367 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007438/1.36, allocations: 226.4 kB / 1.612 GB, free: 1.145 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006069/1.366, allocations: 2.937 MB / 1.615 GB, free: 14.19 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.366, allocations: 15.94 kB / 1.615 GB, free: 14.17 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.366, allocations: 3.984 kB / 1.615 GB, free: 14.17 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/1.366, allocations: 3.984 kB / 1.615 GB, free: 14.16 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/1.369, allocations: 1.804 MB / 1.617 GB, free: 12.31 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.369, allocations: 0 / 1.617 GB, free: 12.31 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/1.37, allocations: 175.8 kB / 1.617 GB, free: 12.14 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004746/1.371, allocations: 80.72 kB / 1.617 GB, free: 12.05 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/1.371, allocations: 39.97 kB / 1.617 GB, free: 12.02 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/1.373, allocations: 1.666 MB / 1.618 GB, free: 10.2 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.373, allocations: 0 / 1.618 GB, free: 10.2 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005114/1.378, allocations: 2.786 MB / 1.621 GB, free: 7.379 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.379, allocations: 0.4953 MB / 1.622 GB, free: 6.863 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000507/1.38, allocations: 31.94 kB / 1.622 GB, free: 6.832 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.381, allocations: 79.92 kB / 1.622 GB, free: 6.754 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/1.381, allocations: 92.88 kB / 1.622 GB, free: 6.664 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/1.381, allocations: 59.97 kB / 1.622 GB, free: 6.605 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.008366/1.39, allocations: 7.269 MB / 1.629 GB, free: 15.32 MB / 1.326 GB Notification: Performance of sort global known variables: time 3.01e-07/1.39, allocations: 0 / 1.629 GB, free: 15.32 MB / 1.326 GB Notification: Performance of remove unused functions: time 0.004584/1.394, allocations: 1.392 MB / 1.63 GB, free: 13.93 MB / 1.326 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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.003815/1.398, allocations: 0.9597 MB / 1.631 GB, free: 13.15 MB / 1.326 GB Notification: Performance of simCode: created initialization part: time 0.02932/1.427, allocations: 26.77 MB / 1.657 GB, free: 2.348 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.428, allocations: 0 / 1.657 GB, free: 2.348 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.003126/1.431, allocations: 1.918 MB / 1.659 GB, free: 412 kB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.434, allocations: 439.3 kB / 1.66 GB, free: 15.98 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.445, allocations: 6.794 MB / 1.666 GB, free: 9.16 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002106/1.447, allocations: 1.72 MB / 1.668 GB, free: 7.41 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000868/1.448, allocations: 199.4 kB / 1.668 GB, free: 7.215 MB / 1.357 GB Notification: Performance of SimCode: time 8.41e-07/1.448, allocations: 4 kB / 1.668 GB, free: 7.211 MB / 1.357 GB Notification: Performance of Templates: time 0.09631/1.545, allocations: 64.26 MB / 1.731 GB, free: 7.852 MB / 1.42 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 19.150174996815622] Failed to read output from testmodel.py, exit status != 0: 1.5517279468476772 1.564358851 0.40659997999999997 Calling exit ...