Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winTra.HDif|winTra.HDir|winTra.QTraDif_flow.1.|winTra.QTraDir_flow.1.|winTra.QTraDifUns_flow.1.|winTra.QTraDirUns_flow.1.|winTra.QTraDifSha_flow.1.|winTra.QTraDirSha_flow.1.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001428, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001487/0.001487, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.08 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.252/2.252, allocations: 390.2 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 67.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8655, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.006758/0.8723, allocations: 5.739 MB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2007/1.073, allocations: 155.2 MB / 1.246 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/1.075, allocations: 25.53 kB / 1.246 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007244/1.082, allocations: 1.786 MB / 1.248 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004645/1.087, allocations: 0.8109 MB / 1.248 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003566/1.091, allocations: 0.9778 MB / 1.249 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003401/1.094, allocations: 2.373 MB / 1.252 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/1.096, allocations: 0.972 MB / 1.253 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/1.097, allocations: 0.8721 MB / 1.253 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/1.099, allocations: 0.9063 MB / 1.254 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000523/1.099, allocations: 184 kB / 1.255 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004668/1.104, allocations: 2.263 MB / 1.257 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/1.105, allocations: 1.154 MB / 1.258 GB, free: 384 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001639/1.107, allocations: 0.9053 MB / 1.259 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00637/1.113, allocations: 3.701 MB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.113, allocations: 3.938 kB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.375e-06/1.113, allocations: 0 / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.044e-05/1.113, allocations: 0 / 1.262 GB, free: 11.75 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005408/1.119, allocations: 2.352 MB / 1.265 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.119, allocations: 8.031 kB / 1.265 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/1.12, allocations: 266.3 kB / 1.265 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/1.124, allocations: 2.951 MB / 1.268 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/1.124, allocations: 98.55 kB / 1.268 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/1.125, allocations: 132 kB / 1.268 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/1.127, allocations: 1.364 MB / 1.269 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/1.127, allocations: 0 / 1.269 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/1.127, allocations: 52 kB / 1.269 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/1.128, allocations: 32 kB / 1.269 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/1.13, allocations: 1.5 MB / 1.271 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007826/1.138, allocations: 5.085 MB / 1.276 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/1.14, allocations: 1.119 MB / 1.277 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/1.141, allocations: 443.7 kB / 1.277 GB, free: 12.1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.91e-05/1.141, allocations: 41.09 kB / 1.277 GB, free: 12.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/1.142, allocations: 0.6489 MB / 1.278 GB, free: 11.39 MB / 1.014 GB Notification: Performance of pre-optimization done (n=100): time 3.496e-06/1.142, allocations: 0 / 1.278 GB, free: 11.39 MB / 1.014 GB Notification: Performance of matching and sorting (n=100): time 0.003973/1.146, allocations: 1.656 MB / 1.28 GB, free: 9.707 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.146, allocations: 192.9 kB / 1.28 GB, free: 9.477 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004837/1.151, allocations: 4.102 MB / 1.284 GB, free: 5.367 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/1.151, allocations: 57.7 kB / 1.284 GB, free: 5.305 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/1.152, allocations: 0.653 MB / 1.285 GB, free: 4.645 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/1.152, allocations: 335.3 kB / 1.285 GB, free: 4.312 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000885/1.153, allocations: 0.9431 MB / 1.286 GB, free: 3.359 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.637e-05/1.153, allocations: 305.1 kB / 1.286 GB, free: 3.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005736/1.159, allocations: 6.335 MB / 1.292 GB, free: 12.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005952/1.165, allocations: 6.581 MB / 1.299 GB, free: 6.117 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007281/1.172, allocations: 7.474 MB / 1.306 GB, free: 14.6 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/1.172, allocations: 0 / 1.306 GB, free: 14.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01529/1.187, allocations: 14.16 MB / 1.32 GB, free: 380 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/1.188, allocations: 8 kB / 1.32 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.188, allocations: 0 / 1.32 GB, free: 372 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/1.188, allocations: 80.83 kB / 1.32 GB, free: 288 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.189, allocations: 255.6 kB / 1.32 GB, free: 32 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/1.192, allocations: 1.63 MB / 1.322 GB, free: 14.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.193, allocations: 138.7 kB / 1.322 GB, free: 14.12 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/1.193, allocations: 63.95 kB / 1.322 GB, free: 14.05 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 146 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001123/1.195, allocations: 0.618 MB / 1.323 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/1.195, allocations: 138.2 kB / 1.323 GB, free: 13.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.198, allocations: 1.474 MB / 1.324 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/1.198, allocations: 8 kB / 1.324 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.198, allocations: 4 kB / 1.324 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.198, allocations: 7.984 kB / 1.324 GB, free: 11.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/1.2, allocations: 1.311 MB / 1.325 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/1.2, allocations: 0 / 1.325 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007485/1.201, allocations: 183.7 kB / 1.326 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/1.202, allocations: 68.8 kB / 1.326 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/1.202, allocations: 35.97 kB / 1.326 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/1.204, allocations: 1.65 MB / 1.327 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.204, allocations: 8 kB / 1.327 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/1.206, allocations: 1.27 MB / 1.329 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/1.207, allocations: 366.9 kB / 1.329 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/1.207, allocations: 31.89 kB / 1.329 GB, free: 6.621 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00085/1.208, allocations: 66.28 kB / 1.329 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/1.208, allocations: 92.88 kB / 1.329 GB, free: 6.465 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-05/1.208, allocations: 47.97 kB / 1.329 GB, free: 6.418 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002616/1.211, allocations: 2.634 MB / 1.332 GB, free: 3.781 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.6e-07/1.211, allocations: 0 / 1.332 GB, free: 3.781 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002484/1.213, allocations: 0.983 MB / 1.333 GB, free: 2.797 MB / 1.061 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002999/1.216, allocations: 0.944 MB / 1.334 GB, free: 2.027 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.008481/1.225, allocations: 8.384 MB / 1.342 GB, free: 9.621 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.225, allocations: 11.97 kB / 1.342 GB, free: 9.613 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001296/1.226, allocations: 0.6603 MB / 1.342 GB, free: 8.945 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.228, allocations: 350.3 kB / 1.343 GB, free: 8.625 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007144/1.235, allocations: 3.514 MB / 1.346 GB, free: 5.066 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/1.236, allocations: 1.31 MB / 1.347 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000655/1.237, allocations: 163.4 kB / 1.348 GB, free: 3.566 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/1.237, allocations: 0 / 1.348 GB, free: 3.566 MB / 1.076 GB Notification: Performance of Templates: time 0.06052/1.298, allocations: 38.26 MB / 1.385 GB, free: 13.83 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)