Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001592/0.001593, allocations: 193.4 kB / 16.25 MB, free: 6.633 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.547/1.547, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.6 MB / 0.7448 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 64.25 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3322, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006779/0.3391, allocations: 4.82 MB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1593/0.4984, allocations: 148.4 MB / 1.217 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008854/0.4993, allocations: 19.94 kB / 1.217 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.5002, allocations: 146.9 kB / 1.217 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.5022, allocations: 488.8 kB / 1.218 GB, free: 384 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.5043, allocations: 0.7431 MB / 1.219 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.5061, allocations: 1.378 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.5071, allocations: 0.5947 MB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008197/0.508, allocations: 490.3 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.5087, allocations: 0.4939 MB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.5088, allocations: 120 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008869/0.5097, allocations: 459.7 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.51, allocations: 299 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004531/0.5104, allocations: 0.5597 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.512, allocations: 1.597 MB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.512, allocations: 0 / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5121, allocations: 4 kB / 1.224 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.5121, allocations: 0 / 1.224 GB, free: 9.629 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002401/0.5145, allocations: 1.422 MB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5145, allocations: 16.02 kB / 1.226 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.5155, allocations: 183.4 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5165, allocations: 0.7344 MB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.553e-05/0.5166, allocations: 66 kB / 1.227 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.5167, allocations: 83.98 kB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.5183, allocations: 0.9184 MB / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.5184, allocations: 0 / 1.228 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.161e-05/0.5185, allocations: 32 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5185, allocations: 20 kB / 1.228 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.5202, allocations: 1.116 MB / 1.229 GB, free: 4.906 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.004264/0.5245, allocations: 2.732 MB / 1.232 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.5261, allocations: 0.8842 MB / 1.232 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.5266, allocations: 314.5 kB / 1.233 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.5267, allocations: 32.61 kB / 1.233 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009396/0.5277, allocations: 499.1 kB / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.555e-06/0.5277, allocations: 0 / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003125/0.5308, allocations: 1.186 MB / 1.234 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.531, allocations: 196.6 kB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009038/0.5319, allocations: 0.6214 MB / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.052e-05/0.532, allocations: 41.7 kB / 1.235 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.5323, allocations: 392.4 kB / 1.236 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.5325, allocations: 256.3 kB / 1.236 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.5328, allocations: 166.5 kB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.533, allocations: 386.7 kB / 1.236 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005052/0.5335, allocations: 265.9 kB / 1.237 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.5341, allocations: 363.1 kB / 1.237 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.5353, allocations: 0.6033 MB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.5353, allocations: 8.062 kB / 1.238 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001952/0.5372, allocations: 0.8488 MB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.5373, allocations: 4 kB / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5373, allocations: 0 / 1.238 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.5379, allocations: 88.75 kB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.5386, allocations: 159.8 kB / 1.239 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.5409, allocations: 1.642 MB / 1.24 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/0.5417, allocations: 91.95 kB / 1.24 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.5417, allocations: 43.91 kB / 1.24 GB, free: 8.691 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004787/0.5422, allocations: 271.4 kB / 1.241 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.5424, allocations: 78.97 kB / 1.241 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.5448, allocations: 1.062 MB / 1.242 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.5448, allocations: 8 kB / 1.242 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5448, allocations: 3.938 kB / 1.242 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5449, allocations: 7.984 kB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.5482, allocations: 1.951 MB / 1.244 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.5482, allocations: 4 kB / 1.244 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.5487, allocations: 143.8 kB / 1.244 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/0.5492, allocations: 72.72 kB / 1.244 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.5493, allocations: 27.98 kB / 1.244 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.5512, allocations: 1.685 MB / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5513, allocations: 0 / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.5533, allocations: 0.9921 MB / 1.247 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003584/0.5537, allocations: 271.7 kB / 1.247 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.5538, allocations: 20 kB / 1.247 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006721/0.5545, allocations: 69.61 kB / 1.247 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.5546, allocations: 65.05 kB / 1.247 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/0.5547, allocations: 39.97 kB / 1.247 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005838/0.5553, allocations: 451 kB / 1.247 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5553, allocations: 0 / 1.247 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009033/0.5562, allocations: 319.2 kB / 1.248 GB, free: 0.9141 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0013/0.5575, allocations: 0.6059 MB / 1.248 GB, free: 496 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4563/1.014, allocations: 1.024 MB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.014, allocations: 0.5312 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/1.015, allocations: 0.5143 MB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/1.017, allocations: 307.7 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/1.021, allocations: 2.044 MB / 1.252 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008091/1.021, allocations: 1.02 MB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001242/1.023, allocations: 263 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003398/1.023, allocations: 109.9 kB / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.994e-06/1.023, allocations: 0 / 1.253 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02807/1.051, allocations: 15.06 MB / 1.268 GB, free: 180.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)