Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002082/0.002081, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.028/3.028, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 72.89 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3633, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01308/0.3764, allocations: 11.66 MB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.5438, allocations: 150.3 MB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.547, allocations: 27.88 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.5489, allocations: 313.3 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.5536, allocations: 1.02 MB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004183/0.5578, allocations: 1.494 MB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005541/0.5634, allocations: 3.868 MB / 1.232 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003465/0.5669, allocations: 2.288 MB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.5692, allocations: 1.444 MB / 1.236 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/0.5719, allocations: 1.75 MB / 1.238 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009847/0.5729, allocations: 248 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.5747, allocations: 0.6012 MB / 1.238 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009834/0.5757, allocations: 0.7549 MB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002514/0.5782, allocations: 1.776 MB / 1.241 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006982/0.5852, allocations: 5.546 MB / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5853, allocations: 0 / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5853, allocations: 0 / 1.246 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002299/0.5855, allocations: 4 kB / 1.246 GB, free: 3.109 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: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.7169/1.302, allocations: 3.797 MB / 1.25 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/1.302, allocations: 8.156 kB / 1.25 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/1.319, allocations: 2.218 MB / 1.252 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003494/1.322, allocations: 1.741 MB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/1.322, allocations: 254.8 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009428/1.323, allocations: 329.9 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/1.335, allocations: 4.462 MB / 1.259 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.904e-05/1.335, allocations: 4 kB / 1.259 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/1.336, allocations: 146 kB / 1.259 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-05/1.336, allocations: 82.44 kB / 1.259 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/1.35, allocations: 5.143 MB / 1.264 GB, free: 177.2 MB / 0.9981 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.02273/1.373, allocations: 12.61 MB / 1.276 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009112/1.382, allocations: 3.376 MB / 1.28 GB, free: 168 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004533/1.387, allocations: 1.732 MB / 1.281 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006695/1.387, allocations: 0.52 MB / 1.282 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005582/1.393, allocations: 2.143 MB / 1.284 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=249): time 5.54e-06/1.393, allocations: 1.375 kB / 1.284 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249): time 0.01606/1.409, allocations: 5.199 MB / 1.289 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.409, allocations: 214.3 kB / 1.289 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002138/1.411, allocations: 1.303 MB / 1.291 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003257/1.412, allocations: 74.11 kB / 1.291 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008473/1.413, allocations: 1.119 MB / 1.292 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006688/1.413, allocations: 0.7976 MB / 1.292 GB, free: 160 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008565/1.414, allocations: 466.8 kB / 1.293 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.766e-05/1.414, allocations: 302.2 kB / 1.293 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004461/1.419, allocations: 1.48 MB / 1.295 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/1.423, allocations: 1.676 MB / 1.296 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008706/1.432, allocations: 3.069 MB / 1.299 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.432, allocations: 3.906 kB / 1.299 GB, free: 156.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.0106/1.443, allocations: 3.655 MB / 1.303 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.443, allocations: 3.906 kB / 1.303 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/1.443, allocations: 7.922 kB / 1.303 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/1.443, allocations: 83.94 kB / 1.303 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004208/1.448, allocations: 0.6817 MB / 1.304 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/1.45, allocations: 1.556 MB / 1.305 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/1.453, allocations: 438.9 kB / 1.306 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/1.454, allocations: 122.9 kB / 1.306 GB, free: 152.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 35 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HGloWal.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDifTil.incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 283 * Array equations: 0 * 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.001402/1.455, allocations: 0.6022 MB / 1.306 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005264/1.456, allocations: 197.6 kB / 1.306 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/1.468, allocations: 4.37 MB / 1.311 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.468, allocations: 24 kB / 1.311 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.468, allocations: 0 / 1.311 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.959e-05/1.468, allocations: 11.95 kB / 1.311 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/1.472, allocations: 3.42 MB / 1.314 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.472, allocations: 0 / 1.314 GB, free: 143.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00378/1.476, allocations: 0.6241 MB / 1.315 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005422/1.476, allocations: 88.72 kB / 1.315 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003673/1.477, allocations: 91.83 kB / 1.315 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/1.478, allocations: 1.558 MB / 1.316 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.478, allocations: 0 / 1.316 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.489, allocations: 3.751 MB / 1.32 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/1.491, allocations: 0.693 MB / 1.321 GB, free: 136.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/1.491, allocations: 63.84 kB / 1.321 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/1.494, allocations: 315.6 kB / 1.321 GB, free: 136 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/1.495, allocations: 181.9 kB / 1.321 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002741/1.495, allocations: 107.8 kB / 1.321 GB, free: 135.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001232/1.496, allocations: 0.9715 MB / 1.322 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.496, allocations: 0 / 1.322 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002204/1.498, allocations: 0.9095 MB / 1.323 GB, free: 133.8 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: 22 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of discrete states: 11 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001506/1.5, allocations: 0.676 MB / 1.324 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00998/1.51, allocations: 3.658 MB / 1.327 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.51, allocations: 0 / 1.327 GB, free: 129.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005593/1.515, allocations: 2.017 MB / 1.329 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.002495/1.518, allocations: 433.4 kB / 1.33 GB, free: 127.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.53, allocations: 6.883 MB / 1.337 GB, free: 120.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/1.531, allocations: 1.726 MB / 1.338 GB, free: 118.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004331/1.535, allocations: 0.6418 MB / 1.339 GB, free: 117.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/1.537, allocations: 283.2 kB / 1.339 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.537, allocations: 0 / 1.339 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.05119/1.588, allocations: 37.7 MB / 1.376 GB, free: 80.18 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)