Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009821/0.000982, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009492/0.0009493, allocations: 168.7 kB / 15.95 MB, free: 200 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.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.945/2.945, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 10.56 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3517, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.008328/0.3601, allocations: 6.127 MB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1794/0.5395, allocations: 140.8 MB / 1.202 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.5413, allocations: 23.88 kB / 1.202 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.005093/0.5464, allocations: 1.538 MB / 1.203 GB, free: 420 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003104/0.5495, allocations: 0.7451 MB / 1.204 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.5523, allocations: 0.7757 MB / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004521/0.5569, allocations: 3.292 MB / 1.208 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.5585, allocations: 0.7037 MB / 1.208 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.5609, allocations: 0.9964 MB / 1.209 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.563, allocations: 0.8715 MB / 1.21 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005453/0.5635, allocations: 52 kB / 1.21 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.5679, allocations: 1.822 MB / 1.212 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.5695, allocations: 1.205 MB / 1.213 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009923/0.5705, allocations: 356.6 kB / 1.214 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005425/0.5759, allocations: 2.903 MB / 1.216 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.576, allocations: 4 kB / 1.216 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.514e-06/0.576, allocations: 4 kB / 1.216 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001233/0.5761, allocations: 0 / 1.216 GB, free: 2.629 MB / 0.9669 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.005622/0.5817, allocations: 2.235 MB / 1.219 GB, free: 328 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5818, allocations: 12.03 kB / 1.219 GB, free: 316 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.583, allocations: 273.3 kB / 1.219 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.5873, allocations: 2.951 MB / 1.222 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.5874, allocations: 110.4 kB / 1.222 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.5876, allocations: 156 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.5902, allocations: 1.385 MB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.5902, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5903, allocations: 55.95 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.5904, allocations: 28 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.5927, allocations: 1.461 MB / 1.225 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009314/0.602, allocations: 5.854 MB / 1.231 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.6042, allocations: 1.234 MB / 1.232 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000963/0.6052, allocations: 0.6793 MB / 1.232 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.453e-05/0.6053, allocations: 37.17 kB / 1.233 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.6066, allocations: 0.8054 MB / 1.233 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=104): time 4.188e-06/0.6066, allocations: 3.938 kB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=104): time 0.004084/0.6107, allocations: 2.235 MB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002261/0.6109, allocations: 326.5 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005391/0.6163, allocations: 4.377 MB / 1.24 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003644/0.6167, allocations: 57.7 kB / 1.24 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006767/0.6174, allocations: 0.693 MB / 1.241 GB, free: 9.199 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.6178, allocations: 343.1 kB / 1.241 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.6179, allocations: 36 kB / 1.241 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.6181, allocations: 381.9 kB / 1.242 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002821/0.6209, allocations: 2.773 MB / 1.244 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003037/0.6239, allocations: 2.999 MB / 1.247 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7266/1.351, allocations: 3.028 MB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-05/1.351, allocations: 0.9062 kB / 1.25 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.008365/1.359, allocations: 6.326 MB / 1.256 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/1.359, allocations: 150.8 kB / 1.256 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/1.359, allocations: 5.719 kB / 1.256 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/1.359, allocations: 11.75 kB / 1.256 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.361, allocations: 353.3 kB / 1.257 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/1.361, allocations: 15.41 kB / 1.257 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.362, allocations: 208.7 kB / 1.257 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/1.362, allocations: 84.59 kB / 1.257 GB, free: 187.5 MB / 0.9981 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.00112/1.363, allocations: 0.8432 MB / 1.258 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/1.363, allocations: 154.8 kB / 1.258 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/1.367, allocations: 2.08 MB / 1.26 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/1.367, allocations: 10 kB / 1.26 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/1.367, allocations: 0.6562 kB / 1.26 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.367, allocations: 8.984 kB / 1.26 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/1.369, allocations: 1.357 MB / 1.261 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.369, allocations: 0 / 1.261 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/1.37, allocations: 159.7 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/1.37, allocations: 8.266 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.882e-05/1.37, allocations: 39 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/1.37, allocations: 3.719 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/1.37, allocations: 1.625 kB / 1.262 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003835/1.374, allocations: 1.942 MB / 1.264 GB, free: 186.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/1.375, allocations: 445.5 kB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/1.375, allocations: 25.89 kB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008275/1.376, allocations: 96.39 kB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.376, allocations: 82.61 kB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.376, allocations: 51.92 kB / 1.264 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003919/1.38, allocations: 2.792 MB / 1.267 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.51e-07/1.38, allocations: 0 / 1.267 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003565/1.384, allocations: 1.002 MB / 1.268 GB, free: 186.3 MB / 0.9981 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.002805/1.387, allocations: 0.9413 MB / 1.269 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007841/1.395, allocations: 5.009 MB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.395, allocations: 1.672 kB / 1.274 GB, free: 186 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00212/1.397, allocations: 1.38 MB / 1.275 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.399, allocations: 321.5 kB / 1.275 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009534/1.408, allocations: 6.286 MB / 1.282 GB, free: 182.8 MB / 0.9981 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]