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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007958/0.0007957, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0009604/0.0009604, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 3.17/3.17, allocations: 390.9 MB / 0.666 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 16 kB / 0.8154 GB, free: 13.55 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8054, allocations: 142.4 MB / 0.9544 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.005843/0.8113, allocations: 5.017 MB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1841/0.9954, allocations: 140.7 MB / 1.097 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.997, allocations: 23.88 kB / 1.097 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00479/1.002, allocations: 1.517 MB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002529/1.004, allocations: 0.6496 MB / 1.099 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/1.007, allocations: 0.776 MB / 1.1 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003762/1.011, allocations: 3.092 MB / 1.103 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/1.012, allocations: 0.7264 MB / 1.103 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001866/1.014, allocations: 0.9807 MB / 1.104 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/1.015, allocations: 0.8365 MB / 1.105 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/1.015, allocations: 52 kB / 1.105 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/1.019, allocations: 1.822 MB / 1.107 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00116/1.02, allocations: 1.205 MB / 1.108 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005214/1.021, allocations: 336.6 kB / 1.108 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004215/1.025, allocations: 2.868 MB / 1.111 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.025, allocations: 0 / 1.111 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.314e-06/1.025, allocations: 0 / 1.111 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.366e-05/1.025, allocations: 0 / 1.111 GB, free: 14.44 MB / 0.8731 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.004043/1.029, allocations: 2.204 MB / 1.113 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.029, allocations: 12.02 kB / 1.113 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007452/1.03, allocations: 273.3 kB / 1.114 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/1.033, allocations: 2.939 MB / 1.117 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/1.033, allocations: 110.4 kB / 1.117 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/1.033, allocations: 156 kB / 1.117 GB, free: 8.633 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/1.036, allocations: 1.385 MB / 1.118 GB, free: 7.188 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.036, allocations: 3.938 kB / 1.118 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.036, allocations: 52 kB / 1.118 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/1.036, allocations: 32 kB / 1.118 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/1.038, allocations: 1.457 MB / 1.12 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008061/1.046, allocations: 5.465 MB / 1.125 GB, free: 92 kB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/1.048, allocations: 1.23 MB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009435/1.049, allocations: 0.687 MB / 1.127 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.921e-05/1.049, allocations: 41.17 kB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/1.051, allocations: 0.8052 MB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/1.051, allocations: 0 / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of matching and sorting (n=104): time 0.003788/1.054, allocations: 2.227 MB / 1.13 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/1.055, allocations: 326.5 kB / 1.13 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005165/1.06, allocations: 4.377 MB / 1.134 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.00028/1.06, allocations: 57.7 kB / 1.135 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006532/1.061, allocations: 0.7007 MB / 1.135 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/1.061, allocations: 339.2 kB / 1.136 GB, free: 5.195 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/1.061, allocations: 32 kB / 1.136 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.061, allocations: 385.8 kB / 1.136 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/1.064, allocations: 2.765 MB / 1.139 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002949/1.067, allocations: 3.003 MB / 1.142 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/1.07, allocations: 3.036 MB / 1.145 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.07, allocations: 4 kB / 1.145 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007648/1.078, allocations: 6.317 MB / 1.151 GB, free: 5.586 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001748/1.078, allocations: 155.2 kB / 1.151 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.078, allocations: 4 kB / 1.151 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/1.078, allocations: 12 kB / 1.151 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/1.08, allocations: 355.5 kB / 1.151 GB, free: 5.066 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.211e-05/1.08, allocations: 8.188 kB / 1.151 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/1.081, allocations: 211.4 kB / 1.151 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/1.081, allocations: 87.94 kB / 1.151 GB, free: 4.766 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001301/1.082, allocations: 0.8488 MB / 1.152 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/1.083, allocations: 150 kB / 1.152 GB, free: 3.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/1.086, allocations: 2.083 MB / 1.154 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/1.086, allocations: 8 kB / 1.155 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.086, allocations: 0 / 1.155 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/1.086, allocations: 7.969 kB / 1.155 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/1.088, allocations: 1.349 MB / 1.156 GB, free: 232 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.088, allocations: 0 / 1.156 GB, free: 232 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/1.089, allocations: 171.7 kB / 1.156 GB, free: 60 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/1.089, allocations: 7.938 kB / 1.156 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.359e-05/1.089, allocations: 39.95 kB / 1.156 GB, free: 12 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/1.089, allocations: 8 kB / 1.156 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.089, allocations: 0 / 1.156 GB, free: 4 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/1.092, allocations: 1.94 MB / 1.158 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/1.092, allocations: 434.5 kB / 1.158 GB, free: 13.59 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/1.093, allocations: 32 kB / 1.158 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/1.093, allocations: 91.86 kB / 1.158 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/1.093, allocations: 84.88 kB / 1.159 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/1.094, allocations: 51.97 kB / 1.159 GB, free: 13.34 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002698/1.096, allocations: 2.799 MB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/1.096, allocations: 0 / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00223/1.098, allocations: 0.9752 MB / 1.162 GB, free: 9.566 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002224/1.101, allocations: 0.9355 MB / 1.163 GB, free: 8.797 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00533/1.106, allocations: 5.009 MB / 1.168 GB, free: 3.777 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.106, allocations: 3.984 kB / 1.168 GB, free: 3.773 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.108, allocations: 1.376 MB / 1.169 GB, free: 2.387 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.109, allocations: 309.8 kB / 1.17 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00818/1.117, allocations: 6.264 MB / 1.176 GB, free: 11.8 MB / 0.9356 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]