Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0009556/0.0009556, allocations: 97.56 kB / 15.36 MB, free: 0.7305 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.001299/0.001299, allocations: 172.5 kB / 16.26 MB, free: 6.664 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.391/1.391, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 8.531 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3947, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01254/0.4073, allocations: 11.08 MB / 1.085 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1949/0.6023, allocations: 148.7 MB / 1.23 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003938/0.6063, allocations: 27.88 kB / 1.23 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.6079, allocations: 321.2 kB / 1.231 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005212/0.6131, allocations: 1.023 MB / 1.232 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004379/0.6175, allocations: 1.491 MB / 1.233 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007581/0.6251, allocations: 3.864 MB / 1.237 GB, free: 448 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003629/0.6287, allocations: 2.214 MB / 1.239 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.6316, allocations: 1.081 MB / 1.24 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.634, allocations: 1.29 MB / 1.241 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003869/0.6344, allocations: 76 kB / 1.241 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.6359, allocations: 443.6 kB / 1.242 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005625/0.6364, allocations: 0.4974 MB / 1.242 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.6383, allocations: 1.481 MB / 1.244 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.6444, allocations: 5.271 MB / 1.249 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6445, allocations: 4 kB / 1.249 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6445, allocations: 0 / 1.249 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001406/0.6447, allocations: 4 kB / 1.249 GB, free: 3.969 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.008595/0.6533, allocations: 3.041 MB / 1.252 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.6533, allocations: 8.031 kB / 1.252 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7383/1.392, allocations: 2.405 MB / 1.254 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/1.396, allocations: 1.737 MB / 1.256 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/1.396, allocations: 255 kB / 1.256 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/1.397, allocations: 327 kB / 1.256 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/1.412, allocations: 4.536 MB / 1.261 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.188e-05/1.412, allocations: 0 / 1.261 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/1.412, allocations: 147.8 kB / 1.261 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.658e-05/1.412, allocations: 82.94 kB / 1.261 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01721/1.429, allocations: 5.291 MB / 1.266 GB, free: 175.1 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.03079/1.46, allocations: 12.67 MB / 1.279 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/1.472, allocations: 3.392 MB / 1.282 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005608/1.477, allocations: 1.746 MB / 1.284 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008805/1.478, allocations: 0.5217 MB / 1.284 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006423/1.485, allocations: 2.159 MB / 1.286 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=249): time 5.09e-06/1.485, allocations: 1.094 kB / 1.286 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249): time 0.01776/1.503, allocations: 5.249 MB / 1.291 GB, free: 161 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/1.503, allocations: 206.3 kB / 1.292 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/1.505, allocations: 1.302 MB / 1.293 GB, free: 160 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006806/1.506, allocations: 70.17 kB / 1.293 GB, free: 160 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.507, allocations: 1.121 MB / 1.294 GB, free: 159 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/1.508, allocations: 0.7922 MB / 1.295 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/1.508, allocations: 180 kB / 1.295 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.366e-05/1.508, allocations: 305.1 kB / 1.295 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005112/1.513, allocations: 1.489 MB / 1.297 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005115/1.519, allocations: 1.697 MB / 1.298 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009337/1.528, allocations: 3.096 MB / 1.301 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/1.528, allocations: 0 / 1.301 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01113/1.539, allocations: 3.684 MB / 1.305 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.539, allocations: 7.875 kB / 1.305 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.539, allocations: 8.031 kB / 1.305 GB, free: 152.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/1.54, allocations: 83.56 kB / 1.305 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003844/1.544, allocations: 0.6844 MB / 1.306 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.545, allocations: 1.563 MB / 1.307 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004062/1.55, allocations: 460.7 kB / 1.308 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/1.55, allocations: 120.1 kB / 1.308 GB, free: 150.6 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.001609/1.552, allocations: 0.604 MB / 1.308 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/1.552, allocations: 193.9 kB / 1.309 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.564, allocations: 4.391 MB / 1.313 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/1.564, allocations: 24 kB / 1.313 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.564, allocations: 0 / 1.313 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/1.564, allocations: 23.94 kB / 1.313 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/1.569, allocations: 3.426 MB / 1.316 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-05/1.569, allocations: 0 / 1.316 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003738/1.573, allocations: 0.628 MB / 1.317 GB, free: 142 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005707/1.574, allocations: 84.78 kB / 1.317 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004753/1.574, allocations: 91.83 kB / 1.317 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/1.576, allocations: 1.559 MB / 1.319 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.576, allocations: 144 / 1.319 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.587, allocations: 3.778 MB / 1.322 GB, free: 136.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/1.589, allocations: 0.7435 MB / 1.323 GB, free: 135.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007565/1.59, allocations: 52 kB / 1.323 GB, free: 135.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003781/1.594, allocations: 338 kB / 1.323 GB, free: 135.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004538/1.594, allocations: 185.9 kB / 1.323 GB, free: 135 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/1.595, allocations: 107.8 kB / 1.324 GB, free: 134.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001741/1.596, allocations: 0.9715 MB / 1.325 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.596, allocations: 0 / 1.325 GB, free: 133.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003142/1.599, allocations: 0.9095 MB / 1.325 GB, free: 133 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.001801/1.601, allocations: 0.6801 MB / 1.326 GB, free: 132.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0109/1.612, allocations: 3.69 MB / 1.33 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.612, allocations: 0 / 1.33 GB, free: 128.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005844/1.618, allocations: 2.031 MB / 1.332 GB, free: 126.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/1.622, allocations: 433.9 kB / 1.332 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.634, allocations: 6.916 MB / 1.339 GB, free: 119.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/1.635, allocations: 1.722 MB / 1.341 GB, free: 117.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004298/1.639, allocations: 0.6457 MB / 1.341 GB, free: 117 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/1.641, allocations: 287.2 kB / 1.341 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.413e-06/1.641, allocations: 0 / 1.341 GB, free: 116.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.06488/1.706, allocations: 37.28 MB / 1.378 GB, free: 79.67 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)