Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, 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.001332/0.001332, allocations: 192 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60.38 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.35, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006835/0.3569, allocations: 4.917 MB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.5203, allocations: 148.3 MB / 1.217 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009994/0.5213, allocations: 15.94 kB / 1.217 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.522, allocations: 146.8 kB / 1.217 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.5237, allocations: 496.6 kB / 1.218 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.5257, allocations: 0.7356 MB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.527, allocations: 1.327 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008411/0.5278, allocations: 0.571 MB / 1.22 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.5284, allocations: 438.3 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/0.529, allocations: 495.4 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.5292, allocations: 60 kB / 1.221 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008865/0.5301, allocations: 403.6 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.5303, allocations: 239 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.5308, allocations: 0.5088 MB / 1.222 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.5324, allocations: 1.573 MB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5325, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5325, allocations: 4 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.5325, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002862/0.5354, allocations: 1.459 MB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.5354, allocations: 8.031 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009682/0.5364, allocations: 191.3 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.5376, allocations: 0.7546 MB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-05/0.5377, allocations: 66 kB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.5378, allocations: 84 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.5395, allocations: 0.9456 MB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.5395, allocations: 0 / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/0.5396, allocations: 36 kB / 1.227 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.5397, allocations: 20 kB / 1.227 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.5415, allocations: 1.128 MB / 1.229 GB, free: 5.258 MB / 0.9825 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.004471/0.546, allocations: 2.751 MB / 1.231 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.5477, allocations: 0.9119 MB / 1.232 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/0.5484, allocations: 310.7 kB / 1.232 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.284e-05/0.5485, allocations: 36.67 kB / 1.232 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/0.5496, allocations: 0.512 MB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.415e-06/0.5496, allocations: 0 / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.00339/0.553, allocations: 1.251 MB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.5531, allocations: 196.9 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008024/0.554, allocations: 0.6487 MB / 1.235 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.554, allocations: 41.7 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002995/0.5543, allocations: 396.4 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.5546, allocations: 268.2 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.5548, allocations: 174.4 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.555, allocations: 386.8 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.5556, allocations: 277.8 kB / 1.236 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.5562, allocations: 383 kB / 1.237 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.5575, allocations: 0.6243 MB / 1.237 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5575, allocations: 0 / 1.237 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002088/0.5596, allocations: 0.8761 MB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.5597, allocations: 7.984 kB / 1.238 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.5597, allocations: 3.938 kB / 1.238 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006366/0.5603, allocations: 76.88 kB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.5611, allocations: 175.7 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/0.5635, allocations: 1.526 MB / 1.24 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/0.5643, allocations: 95.39 kB / 1.24 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.5644, allocations: 39.97 kB / 1.24 GB, free: 8.895 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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,decAng.tNext,$PRE.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 (99): * Single equations (assignments): 98 * 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.0006536/0.5651, allocations: 282.7 kB / 1.24 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.5653, allocations: 86.97 kB / 1.241 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.568, allocations: 1.136 MB / 1.242 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.568, allocations: 16 kB / 1.242 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.568, allocations: 0 / 1.242 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5681, allocations: 7.922 kB / 1.242 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.5717, allocations: 2.008 MB / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5718, allocations: 0 / 1.244 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.5724, allocations: 151.8 kB / 1.244 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.5729, allocations: 84.77 kB / 1.244 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.573, allocations: 23.98 kB / 1.244 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.5751, allocations: 1.548 MB / 1.245 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.5751, allocations: 4.062 kB / 1.245 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.5774, allocations: 1.047 MB / 1.246 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.5778, allocations: 275.7 kB / 1.247 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.578, allocations: 27.98 kB / 1.247 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007611/0.5788, allocations: 77.45 kB / 1.247 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.579, allocations: 72.89 kB / 1.247 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/0.5791, allocations: 39.97 kB / 1.247 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006213/0.5797, allocations: 467 kB / 1.247 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.5797, allocations: 3.938 kB / 1.247 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00101/0.5807, allocations: 335.2 kB / 1.248 GB, free: 0.9844 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001542/0.5823, allocations: 0.6007 MB / 1.248 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5371/1.119, allocations: 0.8589 MB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.119, allocations: 0.75 kB / 1.249 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/1.121, allocations: 0.5335 MB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.122, allocations: 272.5 kB / 1.25 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/1.126, allocations: 2.124 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/1.127, allocations: 1.036 MB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001121/1.128, allocations: 271.4 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/1.128, allocations: 110.1 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/1.128, allocations: 0.9688 kB / 1.253 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0336/1.162, allocations: 14.93 MB / 1.268 GB, free: 180 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)