Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.0008913/0.0008914, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009126/0.0009126, allocations: 172.7 kB / 15.95 MB, free: 208 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.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.63/2.63, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004002, allocations: 12 kB / 0.8722 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7437/0.7441, allocations: 153.8 MB / 1.022 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.007362/0.7515, allocations: 6.144 MB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.9312, allocations: 140.8 MB / 1.166 GB, free: 12.83 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.9327, allocations: 23.88 kB / 1.166 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00499/0.9377, allocations: 1.538 MB / 1.167 GB, free: 11.26 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002498/0.9403, allocations: 0.7419 MB / 1.168 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.9428, allocations: 0.7843 MB / 1.169 GB, free: 9.746 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003586/0.9463, allocations: 3.293 MB / 1.172 GB, free: 6.445 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.9475, allocations: 0.6959 MB / 1.173 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.9491, allocations: 1.004 MB / 1.174 GB, free: 4.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.9503, allocations: 0.856 MB / 1.175 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.9505, allocations: 52 kB / 1.175 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/0.9541, allocations: 1.833 MB / 1.176 GB, free: 1.965 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.9552, allocations: 1.209 MB / 1.178 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.9557, allocations: 356.6 kB / 1.178 GB, free: 408 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004209/0.9599, allocations: 2.903 MB / 1.181 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9599, allocations: 0 / 1.181 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9599, allocations: 0 / 1.181 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.179e-05/0.9599, allocations: 0 / 1.181 GB, free: 13.49 MB / 0.9356 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.003889/0.9638, allocations: 2.228 MB / 1.183 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9639, allocations: 8.562 kB / 1.183 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007412/0.9646, allocations: 277.2 kB / 1.183 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.9681, allocations: 2.951 MB / 1.186 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.9682, allocations: 114.4 kB / 1.186 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.9684, allocations: 148 kB / 1.186 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.9707, allocations: 1.393 MB / 1.188 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.9708, allocations: 8 kB / 1.188 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.9709, allocations: 55.98 kB / 1.188 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.9709, allocations: 31.95 kB / 1.188 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.9732, allocations: 1.457 MB / 1.189 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008562/0.9818, allocations: 5.849 MB / 1.195 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.9838, allocations: 1.23 MB / 1.196 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009565/0.9848, allocations: 0.6909 MB / 1.197 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.08e-05/0.9849, allocations: 37.17 kB / 1.197 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/0.9861, allocations: 0.7937 MB / 1.198 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=104): time 3.196e-06/0.9861, allocations: 8 kB / 1.198 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104): time 0.0038/0.9899, allocations: 2.227 MB / 1.2 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002459/0.9902, allocations: 330.5 kB / 1.2 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005174/0.9954, allocations: 4.377 MB / 1.204 GB, free: 4.832 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003399/0.9958, allocations: 61.7 kB / 1.205 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/0.9964, allocations: 0.6967 MB / 1.205 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.9968, allocations: 343.1 kB / 1.206 GB, free: 3.719 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.9969, allocations: 36 kB / 1.206 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.9971, allocations: 377.9 kB / 1.206 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/1, allocations: 2.776 MB / 1.209 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/1.003, allocations: 2.991 MB / 1.212 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003215/1.006, allocations: 3.032 MB / 1.215 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/1.006, allocations: 4 kB / 1.215 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.007185/1.014, allocations: 6.321 MB / 1.221 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001774/1.014, allocations: 149.6 kB / 1.221 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.014, allocations: 4 kB / 1.221 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/1.014, allocations: 12.44 kB / 1.221 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.015, allocations: 355.5 kB / 1.221 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/1.015, allocations: 23.88 kB / 1.221 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.016, allocations: 203.8 kB / 1.221 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/1.017, allocations: 79.97 kB / 1.221 GB, free: 3.297 MB / 0.9669 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.001183/1.018, allocations: 0.8604 MB / 1.222 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/1.018, allocations: 150 kB / 1.222 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003602/1.022, allocations: 2.079 MB / 1.224 GB, free: 176 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/1.022, allocations: 8 kB / 1.225 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.022, allocations: 4 kB / 1.225 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.022, allocations: 15.86 kB / 1.225 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/1.024, allocations: 1.353 MB / 1.226 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.024, allocations: 0 / 1.226 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006787/1.025, allocations: 171.8 kB / 1.226 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/1.025, allocations: 4 kB / 1.226 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/1.025, allocations: 31.97 kB / 1.226 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/1.025, allocations: 4 kB / 1.226 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.025, allocations: 0 / 1.226 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/1.028, allocations: 1.947 MB / 1.228 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007148/1.029, allocations: 434.5 kB / 1.228 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/1.029, allocations: 28 kB / 1.228 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007741/1.029, allocations: 91.92 kB / 1.228 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/1.03, allocations: 92.8 kB / 1.229 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.03, allocations: 51.97 kB / 1.229 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003195/1.033, allocations: 2.799 MB / 1.231 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.41e-07/1.033, allocations: 0 / 1.231 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00295/1.036, allocations: 0.9986 MB / 1.232 GB, free: 8.051 MB / 0.9825 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.002646/1.039, allocations: 0.9326 MB / 1.233 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005837/1.045, allocations: 5.008 MB / 1.238 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.045, allocations: 4 kB / 1.238 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/1.046, allocations: 1.384 MB / 1.239 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.048, allocations: 321.7 kB / 1.24 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009917/1.058, allocations: 6.299 MB / 1.246 GB, free: 10.23 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]