Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001247/0.001247, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001294/0.001294, allocations: 191.8 kB / 16.14 MB, free: 6.688 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.84 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3551, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation): time 0.009329/0.3644, allocations: 6.949 MB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1879/0.5524, allocations: 153.6 MB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.5545, allocations: 27.81 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005854/0.5604, allocations: 1.655 MB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003478/0.5639, allocations: 0.7769 MB / 1.227 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.5668, allocations: 0.9055 MB / 1.228 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004607/0.5714, allocations: 3.574 MB / 1.231 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.5734, allocations: 0.8946 MB / 1.232 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.5759, allocations: 1.059 MB / 1.233 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.5782, allocations: 1.027 MB / 1.234 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008356/0.5791, allocations: 108 kB / 1.234 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.5838, allocations: 2.021 MB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.5855, allocations: 1.271 MB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002236/0.5877, allocations: 0.9362 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007558/0.5953, allocations: 3.86 MB / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.5954, allocations: 0 / 1.242 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5954, allocations: 4 kB / 1.242 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001359/0.5955, allocations: 3.938 kB / 1.242 GB, free: 7.566 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.008822/0.6044, allocations: 2.601 MB / 1.245 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.6044, allocations: 11.97 kB / 1.245 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.6061, allocations: 262.2 kB / 1.245 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/0.6114, allocations: 3.005 MB / 1.248 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.6115, allocations: 114.4 kB / 1.248 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.612, allocations: 148 kB / 1.248 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7896/1.402, allocations: 1.533 MB / 1.249 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/1.402, allocations: 0 / 1.249 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/1.402, allocations: 54.17 kB / 1.249 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/1.402, allocations: 32.52 kB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/1.405, allocations: 1.612 MB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009356/1.415, allocations: 5.77 MB / 1.257 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/1.417, allocations: 1.438 MB / 1.258 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/1.418, allocations: 0.8909 MB / 1.259 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.496e-05/1.418, allocations: 35.44 kB / 1.259 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/1.42, allocations: 0.9549 MB / 1.26 GB, free: 181 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/1.42, allocations: 0 / 1.26 GB, free: 181 MB / 0.9981 GB Notification: Performance of matching and sorting (n=104): time 0.00487/1.424, allocations: 2.675 MB / 1.263 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/1.425, allocations: 330.3 kB / 1.263 GB, free: 180 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007171/1.432, allocations: 4.376 MB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003694/1.432, allocations: 61.98 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/1.433, allocations: 0.6903 MB / 1.268 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003423/1.433, allocations: 348.6 kB / 1.268 GB, free: 178 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/1.435, allocations: 1.073 MB / 1.269 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.029e-05/1.435, allocations: 306.9 kB / 1.27 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008197/1.443, allocations: 7.038 MB / 1.276 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009209/1.452, allocations: 7.31 MB / 1.284 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008469/1.461, allocations: 8.995 MB / 1.292 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.461, allocations: 0 / 1.292 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01306/1.474, allocations: 15.87 MB / 1.308 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/1.474, allocations: 153.5 kB / 1.308 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.474, allocations: 0 / 1.308 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/1.474, allocations: 8 kB / 1.308 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.475, allocations: 324 kB / 1.308 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/1.475, allocations: 8 kB / 1.308 GB, free: 152.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.477, allocations: 200 kB / 1.309 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.477, allocations: 71.64 kB / 1.309 GB, free: 151.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (205): * Single equations (assignments): 192 * Array equations: 12 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001079/1.478, allocations: 0.8415 MB / 1.309 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/1.478, allocations: 154 kB / 1.31 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/1.482, allocations: 2.379 MB / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.482, allocations: 8 kB / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.482, allocations: 0 / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.482, allocations: 10.52 kB / 1.312 GB, free: 148.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/1.483, allocations: 1.354 MB / 1.313 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.483, allocations: 0 / 1.313 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/1.484, allocations: 167.7 kB / 1.313 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/1.484, allocations: 8.359 kB / 1.313 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.447e-05/1.484, allocations: 39.97 kB / 1.313 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/1.484, allocations: 4 kB / 1.313 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.484, allocations: 0 / 1.313 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/1.487, allocations: 2.244 MB / 1.316 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/1.487, allocations: 406.7 kB / 1.316 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/1.487, allocations: 24 kB / 1.316 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007732/1.488, allocations: 80.2 kB / 1.316 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.488, allocations: 82.2 kB / 1.316 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.163e-05/1.488, allocations: 51.97 kB / 1.316 GB, free: 144.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001941/1.49, allocations: 2.803 MB / 1.319 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.49, allocations: 0 / 1.319 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002301/1.493, allocations: 1.078 MB / 1.32 GB, free: 140.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002191/1.495, allocations: 0.9555 MB / 1.321 GB, free: 140 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008323/1.503, allocations: 10.7 MB / 1.331 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.503, allocations: 0 / 1.331 GB, free: 129.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/1.505, allocations: 1.531 MB / 1.333 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/1.506, allocations: 340.2 kB / 1.333 GB, free: 127.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007293/1.514, allocations: 6.444 MB / 1.34 GB, free: 120.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.515, allocations: 1.777 MB / 1.341 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001269/1.516, allocations: 395.1 kB / 1.342 GB, free: 118.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/1.516, allocations: 143.4 kB / 1.342 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.516, allocations: 0 / 1.342 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05212/1.568, allocations: 31.52 MB / 1.373 GB, free: 87.24 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.makefile (rm -f Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; mkfifo Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe >> ../files/Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.sim & ./Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiation.pipe 2>&1)