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.00201/0.00201, allocations: 107 kB / 16.4 MB, free: 6.379 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.00215/0.002151, allocations: 185.5 kB / 17.33 MB, free: 5.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.532/2.532, allocations: 222.9 MB / 241 MB, free: 15.15 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 4.315/4.315, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 55.91 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714/1.716, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01853/1.735, allocations: 7.026 MB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.3471/2.082, allocations: 155.6 MB / 1.326 GB, free: 0.582 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/2.085, allocations: 23.88 kB / 1.326 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0128/2.098, allocations: 1.818 MB / 1.328 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007857/2.106, allocations: 0.9015 MB / 1.329 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.007204/2.114, allocations: 1.025 MB / 1.33 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01035/2.124, allocations: 3.674 MB / 1.333 GB, free: 9.129 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003765/2.128, allocations: 0.9173 MB / 1.334 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/2.132, allocations: 1.196 MB / 1.335 GB, free: 6.965 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004001/2.136, allocations: 1.062 MB / 1.336 GB, free: 5.898 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001389/2.137, allocations: 200 kB / 1.337 GB, free: 5.703 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009897/2.147, allocations: 2.255 MB / 1.339 GB, free: 3.445 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00349/2.151, allocations: 1.361 MB / 1.34 GB, free: 2.082 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004019/2.155, allocations: 1.026 MB / 1.341 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0157/2.171, allocations: 4.033 MB / 1.345 GB, free: 13 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.749e-05/2.171, allocations: 4 kB / 1.345 GB, free: 13 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.637e-06/2.171, allocations: 0 / 1.345 GB, free: 13 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001613/2.171, allocations: 0 / 1.345 GB, free: 13 MB / 1.076 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.01473/2.186, allocations: 2.687 MB / 1.348 GB, free: 10.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 8.378e-05/2.186, allocations: 8.922 kB / 1.348 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/2.189, allocations: 279.4 kB / 1.348 GB, free: 9.957 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009233/2.198, allocations: 3.033 MB / 1.351 GB, free: 6.875 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/2.198, allocations: 110.4 kB / 1.351 GB, free: 6.766 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/2.199, allocations: 152 kB / 1.351 GB, free: 6.617 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00641/2.205, allocations: 1.538 MB / 1.353 GB, free: 5.02 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.996e-05/2.206, allocations: 3.938 kB / 1.353 GB, free: 5.016 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003699/2.206, allocations: 52 kB / 1.353 GB, free: 4.965 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/2.206, allocations: 28 kB / 1.353 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005492/2.212, allocations: 1.609 MB / 1.354 GB, free: 3.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/2.232, allocations: 5.751 MB / 1.36 GB, free: 13.39 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005557/2.237, allocations: 1.438 MB / 1.361 GB, free: 11.95 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/2.24, allocations: 0.8941 MB / 1.362 GB, free: 11.05 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/2.24, allocations: 29.19 kB / 1.362 GB, free: 11.02 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003309/2.244, allocations: 0.9537 MB / 1.363 GB, free: 10.06 MB / 1.092 GB Notification: Performance of pre-optimization done (n=104): time 8.977e-06/2.244, allocations: 0 / 1.363 GB, free: 10.06 MB / 1.092 GB Notification: Performance of matching and sorting (n=104): time 0.009811/2.254, allocations: 2.682 MB / 1.366 GB, free: 7.363 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004956/2.254, allocations: 330.5 kB / 1.366 GB, free: 6.988 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01227/2.266, allocations: 4.381 MB / 1.37 GB, free: 2.594 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005338/2.267, allocations: 53.7 kB / 1.371 GB, free: 2.535 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/2.269, allocations: 0.7098 MB / 1.371 GB, free: 1.816 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001032/2.27, allocations: 361 kB / 1.372 GB, free: 1.461 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003065/2.273, allocations: 1.088 MB / 1.373 GB, free: 376 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000174/2.273, allocations: 309.1 kB / 1.373 GB, free: 64 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01457/2.288, allocations: 7.043 MB / 1.38 GB, free: 9.016 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01747/2.305, allocations: 7.309 MB / 1.387 GB, free: 1.695 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01953/2.325, allocations: 8.991 MB / 1.396 GB, free: 8.66 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.048e-05/2.325, allocations: 0 / 1.396 GB, free: 8.66 MB / 1.123 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.03708/2.362, allocations: 15.87 MB / 1.411 GB, free: 8.734 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004844/2.363, allocations: 153.6 kB / 1.411 GB, free: 8.578 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.013e-05/2.363, allocations: 0 / 1.411 GB, free: 8.578 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.397e-05/2.363, allocations: 12.06 kB / 1.411 GB, free: 8.566 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/2.366, allocations: 323.5 kB / 1.412 GB, free: 8.25 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.765e-05/2.366, allocations: 8 kB / 1.412 GB, free: 8.242 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00336/2.369, allocations: 190.6 kB / 1.412 GB, free: 8.055 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007255/2.37, allocations: 87.94 kB / 1.412 GB, free: 7.969 MB / 1.139 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.00314/2.373, allocations: 0.8439 MB / 1.413 GB, free: 7.113 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/2.374, allocations: 163 kB / 1.413 GB, free: 6.953 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/2.383, allocations: 2.376 MB / 1.415 GB, free: 4.559 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.471e-05/2.383, allocations: 12 kB / 1.415 GB, free: 4.547 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.967e-05/2.383, allocations: 3.938 kB / 1.415 GB, free: 4.543 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/2.383, allocations: 7.984 kB / 1.415 GB, free: 4.535 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006007/2.389, allocations: 1.361 MB / 1.417 GB, free: 3.121 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/2.389, allocations: 0 / 1.417 GB, free: 3.121 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/2.391, allocations: 159.8 kB / 1.417 GB, free: 2.965 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-05/2.391, allocations: 0 / 1.417 GB, free: 2.965 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000347/2.391, allocations: 35.97 kB / 1.417 GB, free: 2.93 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.076e-05/2.391, allocations: 4 kB / 1.417 GB, free: 2.926 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.391, allocations: 0 / 1.417 GB, free: 2.926 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008201/2.4, allocations: 2.269 MB / 1.419 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/2.402, allocations: 407.6 kB / 1.419 GB, free: 216 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00121/2.403, allocations: 28 kB / 1.419 GB, free: 188 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/2.406, allocations: 67.92 kB / 1.419 GB, free: 120 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005824/2.406, allocations: 84.89 kB / 1.42 GB, free: 36 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004267/2.407, allocations: 56.03 kB / 1.42 GB, free: 15.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00763/2.414, allocations: 2.799 MB / 1.422 GB, free: 13.18 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.894e-06/2.414, allocations: 0 / 1.422 GB, free: 13.18 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.007582/2.422, allocations: 1.087 MB / 1.423 GB, free: 12.09 MB / 1.154 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.007933/2.43, allocations: 0.9577 MB / 1.424 GB, free: 11.3 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.02412/2.454, allocations: 10.71 MB / 1.435 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/2.454, allocations: 0 / 1.435 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.004173/2.459, allocations: 1.532 MB / 1.436 GB, free: 15.03 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00417/2.463, allocations: 347.9 kB / 1.437 GB, free: 14.71 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/2.478, allocations: 4.269 MB / 1.441 GB, free: 10.4 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002445/2.481, allocations: 1.372 MB / 1.442 GB, free: 8.996 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/2.482, allocations: 163.4 kB / 1.442 GB, free: 8.836 MB / 1.17 GB Notification: Performance of SimCode: time 2.195e-06/2.482, allocations: 0 / 1.442 GB, free: 8.836 MB / 1.17 GB Notification: Performance of Templates: time 0.1109/2.593, allocations: 35.18 MB / 1.477 GB, free: 6.094 MB / 1.201 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)