Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001509/0.001509, 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.00152/0.00152, allocations: 190.3 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 437.1 MB / 0.711 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 68.33 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3322, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01038/0.3427, allocations: 7.017 MB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7438/1.087, allocations: 155.6 MB / 1.177 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/1.088, allocations: 30.03 kB / 1.177 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005669/1.094, allocations: 1.818 MB / 1.179 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00321/1.097, allocations: 0.8763 MB / 1.179 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/1.1, allocations: 1.039 MB / 1.18 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004916/1.105, allocations: 3.65 MB / 1.184 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.107, allocations: 0.9259 MB / 1.185 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/1.109, allocations: 1.18 MB / 1.186 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001994/1.111, allocations: 1.066 MB / 1.187 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003592/1.111, allocations: 199 kB / 1.187 GB, free: 5.098 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004566/1.116, allocations: 2.212 MB / 1.189 GB, free: 3.988 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001444/1.118, allocations: 1.365 MB / 1.191 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/1.119, allocations: 1.028 MB / 1.192 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006946/1.126, allocations: 3.948 MB / 1.196 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.126, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.332e-06/1.126, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.636e-05/1.126, allocations: 0 / 1.196 GB, free: 15.95 MB / 0.9044 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.005186/1.131, allocations: 2.602 MB / 1.198 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.131, allocations: 10.95 kB / 1.198 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008798/1.132, allocations: 264.8 kB / 1.198 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/1.136, allocations: 3 MB / 1.201 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-05/1.136, allocations: 111.3 kB / 1.201 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/1.136, allocations: 150.7 kB / 1.202 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/1.139, allocations: 1.537 MB / 1.203 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.139, allocations: 8.625 kB / 1.203 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/1.139, allocations: 59.19 kB / 1.203 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/1.139, allocations: 33.36 kB / 1.203 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/1.142, allocations: 1.609 MB / 1.205 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009728/1.151, allocations: 5.774 MB / 1.21 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/1.154, allocations: 1.436 MB / 1.212 GB, free: 2.551 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/1.155, allocations: 0.8862 MB / 1.213 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-05/1.155, allocations: 33.19 kB / 1.213 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001562/1.157, allocations: 0.9536 MB / 1.214 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 5.06e-06/1.157, allocations: 7.984 kB / 1.214 GB, free: 0.6523 MB / 0.9044 GB Notification: Performance of matching and sorting (n=104): time 0.00494/1.162, allocations: 2.668 MB / 1.216 GB, free: 13.97 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002571/1.162, allocations: 330.5 kB / 1.217 GB, free: 13.6 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005902/1.168, allocations: 4.373 MB / 1.221 GB, free: 9.211 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003242/1.168, allocations: 65.69 kB / 1.221 GB, free: 9.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007524/1.169, allocations: 0.689 MB / 1.222 GB, free: 8.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/1.17, allocations: 347.1 kB / 1.222 GB, free: 8.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/1.171, allocations: 1.079 MB / 1.223 GB, free: 7.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.171, allocations: 301.1 kB / 1.223 GB, free: 6.711 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007707/1.179, allocations: 7.039 MB / 1.23 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008325/1.187, allocations: 7.309 MB / 1.237 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.198, allocations: 8.999 MB / 1.246 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/1.198, allocations: 3.938 kB / 1.246 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01946/1.217, allocations: 15.87 MB / 1.262 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002298/1.217, allocations: 152.1 kB / 1.262 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.217, allocations: 0 / 1.262 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/1.217, allocations: 8 kB / 1.262 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.219, allocations: 323.5 kB / 1.262 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/1.219, allocations: 8 kB / 1.262 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.22, allocations: 190.1 kB / 1.262 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/1.221, allocations: 83.94 kB / 1.262 GB, free: 14.63 MB / 0.9669 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.001245/1.222, allocations: 0.837 MB / 1.263 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/1.222, allocations: 154 kB / 1.263 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/1.226, allocations: 2.376 MB / 1.266 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.226, allocations: 12 kB / 1.266 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.226, allocations: 0 / 1.266 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/1.226, allocations: 3.984 kB / 1.266 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/1.228, allocations: 1.373 MB / 1.267 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.228, allocations: 0 / 1.267 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/1.229, allocations: 155.8 kB / 1.267 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.229, allocations: 7.984 kB / 1.267 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/1.229, allocations: 31.98 kB / 1.267 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/1.229, allocations: 4 kB / 1.267 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.229, allocations: 7.984 kB / 1.267 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/1.233, allocations: 2.244 MB / 1.269 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006768/1.234, allocations: 398.8 kB / 1.27 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/1.234, allocations: 28 kB / 1.27 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/1.235, allocations: 71.92 kB / 1.27 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.235, allocations: 88.88 kB / 1.27 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/1.235, allocations: 51.97 kB / 1.27 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003187/1.238, allocations: 2.795 MB / 1.273 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.41e-07/1.238, allocations: 0 / 1.273 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002743/1.241, allocations: 1.077 MB / 1.274 GB, free: 2.793 MB / 0.9669 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.002905/1.244, allocations: 0.9515 MB / 1.275 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01292/1.257, allocations: 11.14 MB / 1.286 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.257, allocations: 4.125 kB / 1.286 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/1.259, allocations: 1.528 MB / 1.287 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.261, allocations: 359.8 kB / 1.287 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/1.267, allocations: 4.247 MB / 1.292 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.269, allocations: 1.383 MB / 1.293 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/1.269, allocations: 159.4 kB / 1.293 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.269, allocations: 0 / 1.293 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of Templates: time 0.05534/1.324, allocations: 34.87 MB / 1.327 GB, free: 12.8 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)