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.001425/0.001425, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001646/0.001646, allocations: 195.6 kB / 16.25 MB, free: 6.625 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002514, allocations: 67.31 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.398, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01319/0.4113, allocations: 11.66 MB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1811/0.5924, allocations: 150.4 MB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/0.595, allocations: 27.88 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.5973, allocations: 321.2 kB / 1.226 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007352/0.6047, allocations: 1.032 MB / 1.227 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.6089, allocations: 1.522 MB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007895/0.6169, allocations: 4.188 MB / 1.233 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004254/0.6211, allocations: 2.376 MB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00325/0.6244, allocations: 1.764 MB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003214/0.6276, allocations: 1.961 MB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.6293, allocations: 0.5469 MB / 1.239 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.6317, allocations: 0.9057 MB / 1.24 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.6332, allocations: 1.064 MB / 1.241 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0036/0.6369, allocations: 2.089 MB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007325/0.6442, allocations: 5.777 MB / 1.249 GB, free: 416 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6442, allocations: 0 / 1.249 GB, free: 416 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6442, allocations: 0 / 1.249 GB, free: 416 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000188/0.6444, allocations: 0 / 1.249 GB, free: 416 kB / 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.6781/1.323, allocations: 3.799 MB / 1.253 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.388e-05/1.323, allocations: 9.062 kB / 1.253 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01741/1.34, allocations: 2.219 MB / 1.255 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006113/1.346, allocations: 1.738 MB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/1.347, allocations: 258 kB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/1.348, allocations: 333.4 kB / 1.257 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/1.363, allocations: 4.459 MB / 1.261 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.021e-05/1.363, allocations: 0.7031 kB / 1.261 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004187/1.363, allocations: 142.5 kB / 1.262 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/1.363, allocations: 82.5 kB / 1.262 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02016/1.384, allocations: 5.149 MB / 1.267 GB, free: 177.9 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.03627/1.42, allocations: 12.6 MB / 1.279 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/1.432, allocations: 3.378 MB / 1.282 GB, free: 168.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005797/1.438, allocations: 1.736 MB / 1.284 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009841/1.439, allocations: 0.5165 MB / 1.284 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007387/1.446, allocations: 2.149 MB / 1.287 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=249): time 1.129e-05/1.447, allocations: 0 / 1.287 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249): time 0.02186/1.468, allocations: 5.2 MB / 1.292 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/1.469, allocations: 210.5 kB / 1.292 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003065/1.472, allocations: 1.299 MB / 1.293 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009482/1.473, allocations: 73.45 kB / 1.293 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.474, allocations: 1.128 MB / 1.294 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001392/1.475, allocations: 0.7944 MB / 1.295 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002485/1.478, allocations: 469.4 kB / 1.296 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/1.478, allocations: 301.1 kB / 1.296 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005391/1.483, allocations: 1.476 MB / 1.297 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005981/1.489, allocations: 1.68 MB / 1.299 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009918/1.499, allocations: 3.075 MB / 1.302 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.537e-05/1.499, allocations: 0 / 1.302 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01395/1.513, allocations: 3.658 MB / 1.305 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/1.513, allocations: 8 kB / 1.305 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.513, allocations: 0 / 1.305 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006559/1.514, allocations: 100.7 kB / 1.306 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/1.518, allocations: 0.6747 MB / 1.306 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/1.52, allocations: 1.669 MB / 1.308 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004695/1.525, allocations: 437.5 kB / 1.308 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009214/1.526, allocations: 119.9 kB / 1.308 GB, free: 150.9 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.002646/1.529, allocations: 0.5912 MB / 1.309 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/1.53, allocations: 201.5 kB / 1.309 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.544, allocations: 4.372 MB / 1.313 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/1.545, allocations: 24 kB / 1.313 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.545, allocations: 4 kB / 1.313 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-05/1.545, allocations: 11.95 kB / 1.313 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00572/1.55, allocations: 3.432 MB / 1.317 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.024e-05/1.55, allocations: 4 kB / 1.317 GB, free: 142.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004029/1.554, allocations: 0.6163 MB / 1.317 GB, free: 141.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005304/1.555, allocations: 76.8 kB / 1.318 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005938/1.556, allocations: 87.89 kB / 1.318 GB, free: 141.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/1.557, allocations: 1.666 MB / 1.319 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.557, allocations: 7.875 kB / 1.319 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/1.569, allocations: 3.739 MB / 1.323 GB, free: 135.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001736/1.571, allocations: 0.7085 MB / 1.324 GB, free: 135.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000932/1.572, allocations: 67.83 kB / 1.324 GB, free: 135 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00375/1.575, allocations: 303.7 kB / 1.324 GB, free: 134.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/1.576, allocations: 185.8 kB / 1.324 GB, free: 134.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/1.576, allocations: 111.9 kB / 1.324 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001671/1.578, allocations: 0.9637 MB / 1.325 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.578, allocations: 0 / 1.325 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003359/1.581, allocations: 0.9146 MB / 1.326 GB, free: 132.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: 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.001919/1.583, allocations: 0.6758 MB / 1.327 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01697/1.6, allocations: 4.267 MB / 1.331 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.6, allocations: 0 / 1.331 GB, free: 127.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006067/1.606, allocations: 2.01 MB / 1.333 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/1.61, allocations: 470.2 kB / 1.333 GB, free: 125.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.623, allocations: 6.895 MB / 1.34 GB, free: 118.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/1.625, allocations: 1.72 MB / 1.342 GB, free: 116.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005389/1.63, allocations: 0.6457 MB / 1.342 GB, free: 116 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001834/1.632, allocations: 287.2 kB / 1.343 GB, free: 115.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.632, allocations: 0 / 1.343 GB, free: 115.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.06047/1.692, allocations: 39.11 MB / 1.381 GB, free: 76.84 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)