Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001663/0.001663, allocations: 105.3 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.001579/0.001579, 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.38/1.38, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.536/2.536, allocations: 437.1 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.98 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.009393/0.3442, allocations: 6.986 MB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6662/1.01, allocations: 155.4 MB / 1.177 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002493/1.013, allocations: 25.09 kB / 1.177 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.007285/1.02, allocations: 1.813 MB / 1.178 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003522/1.024, allocations: 0.8888 MB / 1.179 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/1.027, allocations: 0.9869 MB / 1.18 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004156/1.031, allocations: 2.563 MB / 1.183 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/1.033, allocations: 0.9375 MB / 1.184 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00201/1.035, allocations: 0.9006 MB / 1.184 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/1.037, allocations: 0.9405 MB / 1.185 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000409/1.038, allocations: 184.3 kB / 1.186 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004902/1.042, allocations: 2.223 MB / 1.188 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001272/1.044, allocations: 1.155 MB / 1.189 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001544/1.045, allocations: 0.9414 MB / 1.19 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007105/1.052, allocations: 3.724 MB / 1.193 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.052, allocations: 4 kB / 1.193 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/1.052, allocations: 0 / 1.193 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.262e-05/1.053, allocations: 0 / 1.193 GB, free: 1.289 MB / 0.8887 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.005198/1.058, allocations: 2.368 MB / 1.196 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.058, allocations: 10.98 kB / 1.196 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.059, allocations: 273.3 kB / 1.196 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/1.063, allocations: 2.908 MB / 1.199 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-05/1.063, allocations: 105.8 kB / 1.199 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/1.063, allocations: 133 kB / 1.199 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/1.066, allocations: 1.361 MB / 1.2 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/1.066, allocations: 0 / 1.2 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/1.066, allocations: 56.44 kB / 1.2 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/1.066, allocations: 32.19 kB / 1.2 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/1.068, allocations: 1.495 MB / 1.202 GB, free: 12.26 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009338/1.078, allocations: 5.616 MB / 1.207 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/1.08, allocations: 1.124 MB / 1.209 GB, free: 6.062 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000818/1.081, allocations: 446 kB / 1.209 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.461e-05/1.081, allocations: 37.09 kB / 1.209 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001227/1.082, allocations: 0.6606 MB / 1.21 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=100): time 3.146e-06/1.082, allocations: 3.938 kB / 1.21 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100): time 0.004481/1.087, allocations: 1.66 MB / 1.211 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001569/1.087, allocations: 192.9 kB / 1.211 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005732/1.093, allocations: 4.106 MB / 1.215 GB, free: 14.87 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003057/1.093, allocations: 49.7 kB / 1.215 GB, free: 14.81 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007002/1.094, allocations: 0.657 MB / 1.216 GB, free: 14.15 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004391/1.094, allocations: 327.3 kB / 1.216 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001024/1.095, allocations: 0.9547 MB / 1.217 GB, free: 12.86 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.096, allocations: 301.1 kB / 1.218 GB, free: 12.56 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006832/1.102, allocations: 6.339 MB / 1.224 GB, free: 6.223 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007333/1.11, allocations: 6.579 MB / 1.23 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008792/1.119, allocations: 7.462 MB / 1.238 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/1.119, allocations: 4 kB / 1.238 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01743/1.136, allocations: 14.16 MB / 1.251 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/1.136, allocations: 4 kB / 1.251 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/1.136, allocations: 5.172 kB / 1.251 GB, free: 9.867 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/1.137, allocations: 84.83 kB / 1.251 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/1.138, allocations: 255.6 kB / 1.252 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/1.141, allocations: 1.62 MB / 1.253 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.142, allocations: 146.8 kB / 1.253 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/1.142, allocations: 65.27 kB / 1.253 GB, free: 7.559 MB / 0.9512 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.001077/1.143, allocations: 0.6175 MB / 1.254 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/1.144, allocations: 138.2 kB / 1.254 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/1.147, allocations: 1.478 MB / 1.256 GB, free: 5.309 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/1.147, allocations: 11.98 kB / 1.256 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.147, allocations: 4 kB / 1.256 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.147, allocations: 7.969 kB / 1.256 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/1.149, allocations: 1.3 MB / 1.257 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/1.149, allocations: 3.938 kB / 1.257 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007717/1.15, allocations: 183.7 kB / 1.257 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004911/1.15, allocations: 72.78 kB / 1.257 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/1.15, allocations: 39.91 kB / 1.257 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/1.153, allocations: 1.651 MB / 1.259 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.153, allocations: 0 / 1.259 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/1.155, allocations: 1.278 MB / 1.26 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/1.156, allocations: 358.9 kB / 1.26 GB, free: 168 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/1.156, allocations: 27.91 kB / 1.26 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/1.157, allocations: 71.86 kB / 1.261 GB, free: 68 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/1.157, allocations: 89 kB / 1.261 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/1.157, allocations: 51.91 kB / 1.261 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002985/1.16, allocations: 2.638 MB / 1.263 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/1.16, allocations: 0 / 1.263 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002509/1.163, allocations: 1.006 MB / 1.264 GB, free: 12.28 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 (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.003065/1.166, allocations: 0.9524 MB / 1.265 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.177, allocations: 8.677 MB / 1.274 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.177, allocations: 3.938 kB / 1.274 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/1.179, allocations: 0.6644 MB / 1.274 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/1.18, allocations: 371.7 kB / 1.275 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006023/1.186, allocations: 3.462 MB / 1.278 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.187, allocations: 1.306 MB / 1.279 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006324/1.188, allocations: 167.3 kB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/1.188, allocations: 0 / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.06341/1.252, allocations: 38.44 MB / 1.317 GB, free: 6.879 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1)