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.001382/0.001382, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001342/0.001342, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 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.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 67.89 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9592/0.9609, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.01387/0.9748, allocations: 5.766 MB / 1.094 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.26/1.235, allocations: 155.5 MB / 1.246 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/1.237, allocations: 25.84 kB / 1.246 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006851/1.244, allocations: 1.801 MB / 1.248 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/1.248, allocations: 0.7849 MB / 1.249 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003564/1.251, allocations: 1.027 MB / 1.25 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004931/1.256, allocations: 3.463 MB / 1.253 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001925/1.258, allocations: 0.9478 MB / 1.254 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/1.261, allocations: 1.161 MB / 1.255 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/1.263, allocations: 1.039 MB / 1.256 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0007644/1.264, allocations: 200 kB / 1.256 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005172/1.269, allocations: 2.247 MB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/1.271, allocations: 1.365 MB / 1.26 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002109/1.273, allocations: 0.9909 MB / 1.261 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008064/1.281, allocations: 3.946 MB / 1.265 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.281, allocations: 3.984 kB / 1.265 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.013e-06/1.281, allocations: 4 kB / 1.265 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001058/1.281, allocations: 0 / 1.265 GB, free: 9.426 MB / 0.9981 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.006259/1.287, allocations: 2.57 MB / 1.267 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.287, allocations: 12.03 kB / 1.267 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008802/1.288, allocations: 262.2 kB / 1.267 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003682/1.292, allocations: 3.013 MB / 1.27 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/1.292, allocations: 114.4 kB / 1.27 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/1.292, allocations: 151.9 kB / 1.271 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/1.295, allocations: 1.542 MB / 1.272 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/1.295, allocations: 4 kB / 1.272 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.295, allocations: 52 kB / 1.272 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.709e-05/1.295, allocations: 32 kB / 1.272 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/1.298, allocations: 1.617 MB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00844/1.306, allocations: 5.341 MB / 1.279 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/1.308, allocations: 1.435 MB / 1.28 GB, free: 9.016 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/1.31, allocations: 0.8823 MB / 1.281 GB, free: 8.125 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-05/1.31, allocations: 37.19 kB / 1.281 GB, free: 8.09 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001408/1.311, allocations: 0.9576 MB / 1.282 GB, free: 7.121 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 4.157e-06/1.311, allocations: 0 / 1.282 GB, free: 7.121 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.004442/1.315, allocations: 2.668 MB / 1.285 GB, free: 4.441 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002323/1.316, allocations: 332.2 kB / 1.285 GB, free: 4.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00519/1.321, allocations: 4.381 MB / 1.289 GB, free: 15.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002236/1.321, allocations: 57.7 kB / 1.289 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006535/1.322, allocations: 0.6968 MB / 1.29 GB, free: 14.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/1.322, allocations: 343.2 kB / 1.29 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/1.323, allocations: 1.067 MB / 1.292 GB, free: 13.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.323, allocations: 317.1 kB / 1.292 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006672/1.33, allocations: 7.043 MB / 1.299 GB, free: 6.133 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00731/1.337, allocations: 7.309 MB / 1.306 GB, free: 14.81 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009576/1.347, allocations: 9.003 MB / 1.315 GB, free: 5.762 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/1.347, allocations: 0 / 1.315 GB, free: 5.762 MB / 1.045 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01799/1.365, allocations: 15.85 MB / 1.33 GB, free: 5.852 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/1.365, allocations: 149.6 kB / 1.33 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.365, allocations: 0 / 1.33 GB, free: 5.699 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/1.365, allocations: 8.062 kB / 1.33 GB, free: 5.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.367, allocations: 327.5 kB / 1.331 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/1.367, allocations: 8 kB / 1.331 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/1.368, allocations: 190.1 kB / 1.331 GB, free: 5.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002691/1.369, allocations: 75.95 kB / 1.331 GB, free: 5.102 MB / 1.061 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.001343/1.37, allocations: 0.8526 MB / 1.332 GB, free: 4.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/1.37, allocations: 150 kB / 1.332 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/1.374, allocations: 2.376 MB / 1.334 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/1.374, allocations: 8 kB / 1.334 GB, free: 1.672 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.374, allocations: 0 / 1.334 GB, free: 1.672 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.374, allocations: 3.984 kB / 1.334 GB, free: 1.668 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/1.376, allocations: 1.365 MB / 1.335 GB, free: 256 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.376, allocations: 0 / 1.335 GB, free: 256 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006615/1.377, allocations: 159.8 kB / 1.336 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/1.377, allocations: 7.984 kB / 1.336 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/1.377, allocations: 35.97 kB / 1.336 GB, free: 52 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/1.377, allocations: 4 kB / 1.336 GB, free: 48 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.377, allocations: 0 / 1.336 GB, free: 48 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/1.381, allocations: 2.252 MB / 1.338 GB, free: 13.77 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/1.381, allocations: 402.7 kB / 1.338 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/1.382, allocations: 24 kB / 1.338 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/1.382, allocations: 71.92 kB / 1.338 GB, free: 13.26 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/1.383, allocations: 80.89 kB / 1.338 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.383, allocations: 55.95 kB / 1.338 GB, free: 13.12 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002761/1.385, allocations: 2.807 MB / 1.341 GB, free: 10.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.787e-06/1.385, allocations: 0 / 1.341 GB, free: 10.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002532/1.388, allocations: 1.057 MB / 1.342 GB, free: 9.262 MB / 1.076 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.002432/1.39, allocations: 0.9419 MB / 1.343 GB, free: 8.496 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.401, allocations: 10.7 MB / 1.354 GB, free: 13.78 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.401, allocations: 3.984 kB / 1.354 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/1.403, allocations: 1.52 MB / 1.355 GB, free: 12.24 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/1.405, allocations: 345.9 kB / 1.355 GB, free: 11.92 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006866/1.412, allocations: 4.162 MB / 1.36 GB, free: 7.727 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/1.413, allocations: 1.372 MB / 1.361 GB, free: 6.324 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005934/1.414, allocations: 163.4 kB / 1.361 GB, free: 6.164 MB / 1.092 GB Notification: Performance of SimCode: time 2.574e-06/1.414, allocations: 0 / 1.361 GB, free: 6.164 MB / 1.092 GB Notification: Performance of Templates: time 0.05513/1.469, allocations: 34.7 MB / 1.395 GB, free: 3.992 MB / 1.123 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)