Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 104.3 kB / 16.27 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 183.9 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 72.22 kB / 0.8132 GB, free: 32.91 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2834, allocations: 140.4 MB / 0.9503 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.00743/0.2909, allocations: 5.742 MB / 0.9559 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7449/1.036, allocations: 155.2 MB / 1.107 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/1.037, allocations: 24.78 kB / 1.107 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005765/1.043, allocations: 1.773 MB / 1.109 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003019/1.046, allocations: 0.7867 MB / 1.11 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/1.049, allocations: 0.9699 MB / 1.111 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003443/1.053, allocations: 2.368 MB / 1.113 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/1.054, allocations: 0.9764 MB / 1.114 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/1.055, allocations: 0.8651 MB / 1.115 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/1.057, allocations: 0.8984 MB / 1.116 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003324/1.057, allocations: 184.2 kB / 1.116 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005326/1.062, allocations: 2.235 MB / 1.118 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/1.064, allocations: 1.155 MB / 1.119 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/1.065, allocations: 0.9056 MB / 1.12 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007147/1.072, allocations: 3.644 MB / 1.124 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.072, allocations: 3.922 kB / 1.124 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.072, allocations: 3.469 kB / 1.124 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.911e-05/1.072, allocations: 0 / 1.124 GB, free: 2.188 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005104/1.077, allocations: 2.339 MB / 1.126 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.077, allocations: 14.19 kB / 1.126 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.078, allocations: 262.8 kB / 1.126 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/1.082, allocations: 2.91 MB / 1.129 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/1.082, allocations: 102.2 kB / 1.129 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/1.083, allocations: 131.1 kB / 1.129 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003142/1.086, allocations: 1.358 MB / 1.131 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.086, allocations: 1.125 kB / 1.131 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/1.086, allocations: 53.66 kB / 1.131 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.165e-05/1.086, allocations: 31.22 kB / 1.131 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/1.089, allocations: 1.5 MB / 1.132 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008599/1.098, allocations: 5.148 MB / 1.137 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/1.1, allocations: 1.117 MB / 1.138 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000872/1.101, allocations: 441.5 kB / 1.139 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-05/1.101, allocations: 36.42 kB / 1.139 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/1.102, allocations: 0.6574 MB / 1.14 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=100): time 2.705e-06/1.102, allocations: 1.125 kB / 1.14 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100): time 0.004108/1.106, allocations: 1.657 MB / 1.141 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.107, allocations: 197.6 kB / 1.141 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004871/1.111, allocations: 4.099 MB / 1.145 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001695/1.112, allocations: 53.22 kB / 1.145 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/1.112, allocations: 0.6559 MB / 1.146 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003137/1.113, allocations: 331.3 kB / 1.146 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009404/1.114, allocations: 0.9507 MB / 1.147 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.992e-05/1.114, allocations: 303.6 kB / 1.148 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005803/1.119, allocations: 6.336 MB / 1.154 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007374/1.127, allocations: 6.578 MB / 1.16 GB, free: 8.055 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009728/1.137, allocations: 7.461 MB / 1.167 GB, free: 5.047 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-05/1.137, allocations: 5.781 kB / 1.167 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01608/1.153, allocations: 14.16 MB / 1.181 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.153, allocations: 7.938 kB / 1.181 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.153, allocations: 0 / 1.181 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/1.153, allocations: 88.83 kB / 1.181 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.155, allocations: 255.6 kB / 1.182 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/1.157, allocations: 1.624 MB / 1.183 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/1.159, allocations: 140.7 kB / 1.183 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/1.159, allocations: 70.94 kB / 1.183 GB, free: 8.375 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 146 * Array equations: 12 * 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.001331/1.161, allocations: 0.6188 MB / 1.184 GB, free: 7.746 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005529/1.161, allocations: 142.2 kB / 1.184 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/1.165, allocations: 1.482 MB / 1.186 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/1.165, allocations: 12 kB / 1.186 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.165, allocations: 0 / 1.186 GB, free: 6.102 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.165, allocations: 7.969 kB / 1.186 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/1.168, allocations: 1.303 MB / 1.187 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.168, allocations: 3.938 kB / 1.187 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/1.169, allocations: 183.7 kB / 1.187 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004872/1.169, allocations: 76.78 kB / 1.187 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.169, allocations: 27.98 kB / 1.187 GB, free: 4.477 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/1.172, allocations: 1.666 MB / 1.189 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.172, allocations: 0 / 1.189 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/1.175, allocations: 1.274 MB / 1.19 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008663/1.176, allocations: 370.8 kB / 1.19 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004251/1.176, allocations: 28 kB / 1.19 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.177, allocations: 63.92 kB / 1.191 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/1.177, allocations: 84.88 kB / 1.191 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.177, allocations: 43.98 kB / 1.191 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003389/1.181, allocations: 2.638 MB / 1.193 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.31e-07/1.181, allocations: 4 kB / 1.193 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003642/1.184, allocations: 0.9976 MB / 1.194 GB, free: 13.12 MB / 0.9044 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.003738/1.188, allocations: 0.9477 MB / 1.195 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.199, allocations: 8.681 MB / 1.204 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.199, allocations: 0 / 1.204 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/1.201, allocations: 0.6745 MB / 1.204 GB, free: 3.023 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/1.203, allocations: 333.8 kB / 1.205 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008006/1.211, allocations: 3.563 MB / 1.208 GB, free: 15.11 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.212, allocations: 1.312 MB / 1.209 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/1.213, allocations: 159.4 kB / 1.209 GB, free: 13.61 MB / 0.92 GB Notification: Performance of SimCode: time 1.172e-06/1.213, allocations: 0 / 1.209 GB, free: 13.61 MB / 0.92 GB Notification: Performance of Templates: time 0.05981/1.273, allocations: 38.07 MB / 1.247 GB, free: 8.062 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)