Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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.000769/0.000769, 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.000767/0.000767, allocations: 178.2 kB / 23.21 MB, free: 1.352 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.8537/0.8537, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.734/1.734, allocations: 377.9 MB / 0.6229 GB, free: 8.68 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.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_12_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_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.691e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00636/0.006387, allocations: 7.299 MB / 0.9893 GB, free: 10.73 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.5885/0.5949, allocations: 140.8 MB / 1.127 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.5961, allocations: 50.44 kB / 1.127 GB, free: 13.59 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003832/0.5999, allocations: 2.116 MB / 1.129 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.6019, allocations: 1.33 MB / 1.13 GB, free: 11.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.6043, allocations: 1.587 MB / 1.132 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002927/0.6072, allocations: 4.384 MB / 1.136 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008413/0.608, allocations: 0.7297 MB / 1.137 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.61, allocations: 2.1 MB / 1.139 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001255/0.6112, allocations: 1.339 MB / 1.14 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.6115, allocations: 286.4 kB / 1.14 GB, free: 7.184 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003677/0.6152, allocations: 2.61 MB / 1.143 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001881/0.6171, allocations: 2.86 MB / 1.146 GB, free: 5.719 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0007988/0.6179, allocations: 0.9429 MB / 1.147 GB, free: 5.25 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.006155/0.624, allocations: 5.699 MB / 1.152 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.624, allocations: 1.406 kB / 1.152 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.624, allocations: 0 / 1.152 GB, free: 3.262 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.145e-05/0.6241, allocations: 0 / 1.152 GB, free: 3.262 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004166/0.6282, allocations: 3.429 MB / 1.156 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.6283, allocations: 9.328 kB / 1.156 GB, free: 1.137 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.6295, allocations: 454.3 kB / 1.156 GB, free: 0.9688 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.6353, allocations: 7.401 MB / 1.163 GB, free: 14.43 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.6355, allocations: 140.6 kB / 1.163 GB, free: 14.37 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.6357, allocations: 208.7 kB / 1.164 GB, free: 14.29 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.638, allocations: 2.18 MB / 1.166 GB, free: 13.15 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.6381, allocations: 4.969 kB / 1.166 GB, free: 13.15 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.6382, allocations: 67.98 kB / 1.166 GB, free: 13.1 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.6382, allocations: 36 kB / 1.166 GB, free: 13.1 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/0.6404, allocations: 1.885 MB / 1.168 GB, free: 12.57 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008199/0.6486, allocations: 9.41 MB / 1.177 GB, free: 8.859 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.6504, allocations: 1.615 MB / 1.178 GB, free: 8.309 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/0.6512, allocations: 0.8976 MB / 1.179 GB, free: 8.016 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.598e-05/0.6513, allocations: 30.31 kB / 1.179 GB, free: 8.012 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.6524, allocations: 1.299 MB / 1.181 GB, free: 7.477 MB / 1.01 GB Notification: Performance of pre-optimization done (n=127): time 2.975e-06/0.6524, allocations: 0 / 1.181 GB, free: 7.477 MB / 1.01 GB Notification: Performance of matching and sorting (n=127): time 0.003759/0.6562, allocations: 3.232 MB / 1.184 GB, free: 6.445 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.6564, allocations: 325 kB / 1.184 GB, free: 6.168 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009614/0.666, allocations: 11.54 MB / 1.195 GB, free: 15.74 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.6663, allocations: 77.58 kB / 1.195 GB, free: 15.66 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006654/0.6669, allocations: 0.9934 MB / 1.196 GB, free: 14.66 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.6672, allocations: 440.3 kB / 1.197 GB, free: 14.22 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/0.6689, allocations: 2.744 MB / 1.2 GB, free: 11.46 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 6.478e-05/0.6689, allocations: 301.1 kB / 1.2 GB, free: 11.17 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01121/0.6802, allocations: 20.11 MB / 1.219 GB, free: 7.043 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/0.6923, allocations: 20.83 MB / 1.24 GB, free: 2.121 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/0.7064, allocations: 23.4 MB / 1.263 GB, free: 10.59 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.7064, allocations: 0 / 1.263 GB, free: 10.59 MB / 1.089 GB Notification: Performance of matching and sorting (n=1005) (initialization): time 0.02917/0.7355, allocations: 44.41 MB / 1.306 GB, free: 14.03 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.7357, allocations: 145.5 kB / 1.306 GB, free: 13.88 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.7357, allocations: 0 / 1.306 GB, free: 13.88 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003457/0.736, allocations: 97.08 kB / 1.306 GB, free: 13.78 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000939/0.737, allocations: 411.3 kB / 1.307 GB, free: 13.38 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.7384, allocations: 1.506 MB / 1.308 GB, free: 11.77 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.7398, allocations: 249.3 kB / 1.308 GB, free: 11.53 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.74, allocations: 111.9 kB / 1.308 GB, free: 11.42 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (295): * Single equations (assignments): 254 * Array equations: 39 * 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.001814/0.7418, allocations: 1.534 MB / 1.31 GB, free: 9.867 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005523/0.7424, allocations: 218.5 kB / 1.31 GB, free: 9.652 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/0.7453, allocations: 2.762 MB / 1.313 GB, free: 6.871 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.7453, allocations: 12 kB / 1.313 GB, free: 6.859 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7453, allocations: 3.938 kB / 1.313 GB, free: 6.855 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.7453, allocations: 3.984 kB / 1.313 GB, free: 6.852 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.7505, allocations: 4.397 MB / 1.317 GB, free: 2.387 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7505, allocations: 0 / 1.317 GB, free: 2.387 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.7509, allocations: 187.7 kB / 1.317 GB, free: 2.203 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.7511, allocations: 84.77 kB / 1.317 GB, free: 2.117 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.7512, allocations: 41.94 kB / 1.317 GB, free: 2.078 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.7523, allocations: 1.527 MB / 1.319 GB, free: 460 kB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7523, allocations: 0 / 1.319 GB, free: 460 kB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.7549, allocations: 2.687 MB / 1.322 GB, free: 13.72 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/0.7555, allocations: 414.1 kB / 1.322 GB, free: 13.31 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.7556, allocations: 43.88 kB / 1.322 GB, free: 13.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.7561, allocations: 81.48 kB / 1.322 GB, free: 13.19 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.7563, allocations: 105.1 kB / 1.322 GB, free: 13.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.7564, allocations: 55.97 kB / 1.322 GB, free: 13.04 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.004597/0.761, allocations: 7.22 MB / 1.329 GB, free: 5.797 MB / 1.151 GB Notification: Performance of sort global known variables: time 7e-08/0.761, allocations: 0 / 1.329 GB, free: 5.797 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003229/0.7642, allocations: 1.415 MB / 1.331 GB, free: 4.379 MB / 1.151 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 (127): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 1 * 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.002226/0.7664, allocations: 1.094 MB / 1.332 GB, free: 3.496 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01474/0.7812, allocations: 21.98 MB / 1.353 GB, free: 13.47 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7812, allocations: 0 / 1.353 GB, free: 13.47 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.7825, allocations: 1.468 MB / 1.355 GB, free: 11.97 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.7839, allocations: 442.4 kB / 1.355 GB, free: 11.56 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006753/0.7906, allocations: 6.837 MB / 1.362 GB, free: 4.68 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/0.7914, allocations: 1.16 MB / 1.363 GB, free: 3.496 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.7919, allocations: 212.4 kB / 1.363 GB, free: 3.289 MB / 1.182 GB Notification: Performance of SimCode: time 1.714e-06/0.7919, allocations: 0 / 1.363 GB, free: 3.289 MB / 1.182 GB Notification: Performance of Templates: time 0.05758/0.8495, allocations: 66.22 MB / 1.428 GB, free: 2.293 MB / 1.245 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 13.049585249274969] Failed to read output from testmodel.py, exit status != 0: 0.8555592373013496 0.862939141 0.237367033 Calling exit ...