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.00113/0.00113, allocations: 103.8 kB / 16.41 MB, free: 6.5 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.001205/0.001205, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.401/1.401, 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.313/2.313, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9142/0.9157, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007865/0.9236, allocations: 5.774 MB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1986/1.122, allocations: 155.5 MB / 1.246 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002513/1.125, allocations: 25.5 kB / 1.246 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.006128/1.131, allocations: 1.788 MB / 1.248 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003404/1.134, allocations: 0.7966 MB / 1.249 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003367/1.138, allocations: 1.03 MB / 1.25 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004469/1.142, allocations: 3.459 MB / 1.253 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/1.144, allocations: 0.9518 MB / 1.254 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/1.146, allocations: 1.169 MB / 1.255 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/1.148, allocations: 1.039 MB / 1.256 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006602/1.149, allocations: 200 kB / 1.256 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004715/1.154, allocations: 2.247 MB / 1.258 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001645/1.155, allocations: 1.357 MB / 1.26 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001949/1.157, allocations: 0.987 MB / 1.261 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009169/1.166, allocations: 3.95 MB / 1.265 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/1.166, allocations: 0 / 1.265 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.166, allocations: 0 / 1.265 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.547e-05/1.167, allocations: 3.938 kB / 1.265 GB, free: 9.367 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.005512/1.172, allocations: 2.582 MB / 1.267 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.172, allocations: 8.031 kB / 1.267 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/1.173, allocations: 266.2 kB / 1.267 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003345/1.176, allocations: 3.016 MB / 1.27 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.12e-05/1.176, allocations: 110.4 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/1.177, allocations: 152 kB / 1.271 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/1.179, allocations: 1.538 MB / 1.272 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/1.179, allocations: 3.938 kB / 1.272 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/1.179, allocations: 52 kB / 1.272 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/1.179, allocations: 36 kB / 1.272 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/1.182, allocations: 1.609 MB / 1.274 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007811/1.189, allocations: 5.341 MB / 1.279 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/1.192, allocations: 1.434 MB / 1.28 GB, free: 8.953 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/1.193, allocations: 0.8902 MB / 1.281 GB, free: 8.055 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.616e-05/1.193, allocations: 37.17 kB / 1.281 GB, free: 8.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/1.194, allocations: 0.9459 MB / 1.282 GB, free: 7.062 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 3.507e-06/1.194, allocations: 0 / 1.282 GB, free: 7.062 MB / 1.014 GB Notification: Performance of matching and sorting (n=104): time 0.00425/1.198, allocations: 2.676 MB / 1.285 GB, free: 4.375 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/1.199, allocations: 328.2 kB / 1.285 GB, free: 4.008 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00485/1.203, allocations: 4.381 MB / 1.289 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.000233/1.204, allocations: 57.7 kB / 1.289 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006132/1.204, allocations: 0.6928 MB / 1.29 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/1.205, allocations: 339.2 kB / 1.29 GB, free: 14.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009874/1.206, allocations: 1.079 MB / 1.292 GB, free: 13.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/1.206, allocations: 313.1 kB / 1.292 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006408/1.212, allocations: 7.035 MB / 1.299 GB, free: 6.078 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006744/1.219, allocations: 7.305 MB / 1.306 GB, free: 14.76 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008815/1.228, allocations: 9.003 MB / 1.315 GB, free: 5.711 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/1.228, allocations: 0 / 1.315 GB, free: 5.711 MB / 1.045 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01646/1.244, allocations: 15.86 MB / 1.33 GB, free: 5.793 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002123/1.244, allocations: 152.2 kB / 1.33 GB, free: 5.641 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.245, allocations: 4 kB / 1.33 GB, free: 5.637 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/1.245, allocations: 8.062 kB / 1.33 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/1.246, allocations: 327.5 kB / 1.331 GB, free: 5.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/1.246, allocations: 4 kB / 1.331 GB, free: 5.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.247, allocations: 194.1 kB / 1.331 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/1.248, allocations: 79.95 kB / 1.331 GB, free: 5.035 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.001245/1.249, allocations: 0.8487 MB / 1.332 GB, free: 4.168 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/1.249, allocations: 158 kB / 1.332 GB, free: 4.012 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/1.253, allocations: 2.36 MB / 1.334 GB, free: 1.625 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/1.253, allocations: 8 kB / 1.334 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.253, allocations: 0 / 1.334 GB, free: 1.617 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/1.253, allocations: 15.97 kB / 1.334 GB, free: 1.602 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/1.255, allocations: 1.357 MB / 1.335 GB, free: 196 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.255, allocations: 4 kB / 1.335 GB, free: 192 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/1.255, allocations: 163.7 kB / 1.336 GB, free: 28 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.255, allocations: 4 kB / 1.336 GB, free: 24 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.495e-05/1.255, allocations: 35.97 kB / 1.336 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/1.255, allocations: 4 kB / 1.336 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.255, allocations: 0 / 1.336 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003283/1.259, allocations: 2.244 MB / 1.338 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/1.259, allocations: 406.7 kB / 1.338 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/1.26, allocations: 28 kB / 1.338 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/1.26, allocations: 71.92 kB / 1.338 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/1.261, allocations: 84.89 kB / 1.338 GB, free: 13.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/1.261, allocations: 51.97 kB / 1.338 GB, free: 13.06 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002708/1.263, allocations: 2.799 MB / 1.341 GB, free: 10.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.7e-07/1.263, allocations: 0 / 1.341 GB, free: 10.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002495/1.266, allocations: 1.061 MB / 1.342 GB, free: 9.203 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.002415/1.268, allocations: 0.9555 MB / 1.343 GB, free: 8.426 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.279, allocations: 10.7 MB / 1.354 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/1.279, allocations: 0 / 1.354 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/1.281, allocations: 1.524 MB / 1.355 GB, free: 12.17 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/1.282, allocations: 338.7 kB / 1.355 GB, free: 11.86 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005918/1.288, allocations: 4.17 MB / 1.36 GB, free: 7.656 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009227/1.289, allocations: 1.372 MB / 1.361 GB, free: 6.254 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005806/1.29, allocations: 163.4 kB / 1.361 GB, free: 6.094 MB / 1.092 GB Notification: Performance of SimCode: time 1.273e-06/1.29, allocations: 0 / 1.361 GB, free: 6.094 MB / 1.092 GB Notification: Performance of Templates: time 0.05044/1.34, allocations: 34.69 MB / 1.395 GB, free: 3.934 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)