Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.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.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsIntSha_flow.1.|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaSha_flow.1|1.|winAbs.QAbsGlaSha_flow.2|1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001667/0.001667, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.256/2.256, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.14 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2973, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009616/0.3069, allocations: 5.789 MB / 0.9559 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7598/1.067, allocations: 155.4 MB / 1.108 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/1.068, allocations: 28.03 kB / 1.108 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005585/1.074, allocations: 1.782 MB / 1.109 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002575/1.076, allocations: 0.7737 MB / 1.11 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00273/1.079, allocations: 1.024 MB / 1.111 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004529/1.084, allocations: 3.448 MB / 1.115 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/1.085, allocations: 0.954 MB / 1.116 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/1.087, allocations: 1.152 MB / 1.117 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/1.089, allocations: 1.038 MB / 1.118 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003885/1.09, allocations: 198.6 kB / 1.118 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005607/1.095, allocations: 2.216 MB / 1.12 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001695/1.097, allocations: 1.359 MB / 1.121 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/1.099, allocations: 0.9885 MB / 1.122 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006923/1.106, allocations: 3.887 MB / 1.126 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.106, allocations: 4 kB / 1.126 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.106, allocations: 1.156 kB / 1.126 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.901e-05/1.106, allocations: 0 / 1.126 GB, free: 2.562 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.00524/1.111, allocations: 2.574 MB / 1.129 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.111, allocations: 8.938 kB / 1.129 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008869/1.112, allocations: 262.1 kB / 1.129 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/1.116, allocations: 2.996 MB / 1.132 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/1.116, allocations: 112.1 kB / 1.132 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/1.116, allocations: 152 kB / 1.132 GB, free: 16.69 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/1.118, allocations: 1.545 MB / 1.134 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.119, allocations: 1.406 kB / 1.134 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/1.119, allocations: 54.31 kB / 1.134 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/1.119, allocations: 30.84 kB / 1.134 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/1.121, allocations: 1.612 MB / 1.135 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008529/1.13, allocations: 5.374 MB / 1.14 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/1.132, allocations: 1.438 MB / 1.142 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/1.133, allocations: 0.8874 MB / 1.143 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.032e-05/1.133, allocations: 41.52 kB / 1.143 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001447/1.135, allocations: 0.9447 MB / 1.144 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/1.135, allocations: 1.375 kB / 1.144 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=104): time 0.004553/1.139, allocations: 2.678 MB / 1.146 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002126/1.14, allocations: 327.3 kB / 1.147 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005017/1.145, allocations: 4.382 MB / 1.151 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002641/1.145, allocations: 56.14 kB / 1.151 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006585/1.145, allocations: 0.6903 MB / 1.152 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/1.146, allocations: 351.2 kB / 1.152 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/1.147, allocations: 1.075 MB / 1.153 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001114/1.147, allocations: 305.1 kB / 1.153 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006189/1.153, allocations: 7.038 MB / 1.16 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006683/1.16, allocations: 7.313 MB / 1.167 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009338/1.169, allocations: 8.998 MB / 1.176 GB, free: 276 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/1.169, allocations: 7.875 kB / 1.176 GB, free: 268 kB / 0.8731 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01782/1.187, allocations: 15.85 MB / 1.192 GB, free: 412 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001914/1.187, allocations: 152.4 kB / 1.192 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.187, allocations: 0 / 1.192 GB, free: 256 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/1.187, allocations: 8 kB / 1.192 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/1.189, allocations: 319.6 kB / 1.192 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.189, allocations: 8 kB / 1.192 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.19, allocations: 196.8 kB / 1.192 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.19, allocations: 75.95 kB / 1.192 GB, free: 15.66 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001311/1.192, allocations: 0.8544 MB / 1.193 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/1.192, allocations: 146.1 kB / 1.193 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/1.196, allocations: 2.39 MB / 1.196 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/1.196, allocations: 8 kB / 1.196 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.196, allocations: 0 / 1.196 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.196, allocations: 3.984 kB / 1.196 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/1.198, allocations: 1.357 MB / 1.197 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.198, allocations: 3.938 kB / 1.197 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/1.198, allocations: 159.8 kB / 1.197 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.964e-06/1.198, allocations: 4 kB / 1.197 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/1.198, allocations: 39.97 kB / 1.197 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/1.198, allocations: 4 kB / 1.197 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.198, allocations: 0.7812 kB / 1.197 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/1.202, allocations: 2.248 MB / 1.199 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/1.202, allocations: 402.8 kB / 1.2 GB, free: 7.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/1.203, allocations: 31.88 kB / 1.2 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/1.203, allocations: 71.94 kB / 1.2 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/1.204, allocations: 87.45 kB / 1.2 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/1.204, allocations: 51.97 kB / 1.2 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002663/1.206, allocations: 2.799 MB / 1.203 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.206, allocations: 0 / 1.203 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002682/1.209, allocations: 1.049 MB / 1.204 GB, free: 3.859 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 (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00235/1.211, allocations: 0.9475 MB / 1.205 GB, free: 3.129 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01134/1.223, allocations: 11.15 MB / 1.216 GB, free: 7.996 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/1.223, allocations: 0 / 1.216 GB, free: 7.996 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001791/1.225, allocations: 1.516 MB / 1.217 GB, free: 6.465 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/1.226, allocations: 342.1 kB / 1.217 GB, free: 6.148 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/1.232, allocations: 4.215 MB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/1.233, allocations: 1.376 MB / 1.223 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/1.234, allocations: 159.4 kB / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of SimCode: time 6.91e-07/1.234, allocations: 0 / 1.223 GB, free: 352 kB / 0.92 GB Notification: Performance of Templates: time 0.0528/1.287, allocations: 34.52 MB / 1.257 GB, free: 14.36 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)