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.001174/0.001174, 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.001275/0.001275, allocations: 192.3 kB / 16.13 MB, free: 6.66 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7447 GB, free: 5.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.27 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3516, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006661/0.3583, allocations: 4.812 MB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1581/0.5164, allocations: 148.3 MB / 1.217 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000827/0.5173, allocations: 19.88 kB / 1.217 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005828/0.5179, allocations: 154.8 kB / 1.217 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.5194, allocations: 457.4 kB / 1.218 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.5211, allocations: 0.7296 MB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001313/0.5224, allocations: 1.28 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007998/0.5232, allocations: 0.5788 MB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005178/0.5238, allocations: 418.3 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.5243, allocations: 473.8 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.5244, allocations: 60 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008125/0.5252, allocations: 395.6 kB / 1.221 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000236/0.5255, allocations: 239.1 kB / 1.222 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004596/0.5259, allocations: 0.4972 MB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.5274, allocations: 1.558 MB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5274, allocations: 3.984 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5275, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.302e-05/0.5275, allocations: 0 / 1.224 GB, free: 10.42 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.002515/0.53, allocations: 1.414 MB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.53, allocations: 12.03 kB / 1.225 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.531, allocations: 187.4 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.532, allocations: 0.7305 MB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.5321, allocations: 62 kB / 1.226 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5322, allocations: 83.94 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.5338, allocations: 0.9223 MB / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5338, allocations: 0 / 1.227 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.5339, allocations: 36 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.5339, allocations: 20 kB / 1.227 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.5357, allocations: 1.112 MB / 1.228 GB, free: 5.711 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.004144/0.5398, allocations: 2.728 MB / 1.231 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.5415, allocations: 0.8958 MB / 1.232 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.542, allocations: 310.6 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.118e-05/0.5421, allocations: 32.61 kB / 1.232 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009474/0.5431, allocations: 495 kB / 1.232 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 3.016e-06/0.5431, allocations: 0 / 1.232 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003186/0.5463, allocations: 1.186 MB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.5464, allocations: 196.5 kB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000832/0.5472, allocations: 0.6292 MB / 1.234 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/0.5473, allocations: 41.7 kB / 1.234 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.5477, allocations: 392.4 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.5479, allocations: 256.3 kB / 1.235 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.5482, allocations: 158.5 kB / 1.235 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5484, allocations: 386.7 kB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.5489, allocations: 273.8 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.5496, allocations: 367.1 kB / 1.236 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.5507, allocations: 0.6033 MB / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5507, allocations: 0 / 1.237 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001973/0.5527, allocations: 0.8488 MB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.5527, allocations: 7.984 kB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.5527, allocations: 0 / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.5534, allocations: 84.81 kB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.5541, allocations: 159.8 kB / 1.238 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.5562, allocations: 1.539 MB / 1.239 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.557, allocations: 91.31 kB / 1.239 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.99e-05/0.5571, allocations: 35.98 kB / 1.24 GB, free: 9.613 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.0004725/0.5576, allocations: 272 kB / 1.24 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/0.5578, allocations: 86.91 kB / 1.24 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.5602, allocations: 1.054 MB / 1.241 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.5602, allocations: 8 kB / 1.241 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5602, allocations: 4 kB / 1.241 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.5603, allocations: 7.969 kB / 1.241 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003247/0.5635, allocations: 1.958 MB / 1.243 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5635, allocations: 0 / 1.243 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.5641, allocations: 139.8 kB / 1.243 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005316/0.5647, allocations: 84.77 kB / 1.243 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.5647, allocations: 23.98 kB / 1.243 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.5667, allocations: 1.579 MB / 1.245 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.5667, allocations: 3.938 kB / 1.245 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.5688, allocations: 0.9883 MB / 1.246 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.5691, allocations: 267.8 kB / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.5693, allocations: 20 kB / 1.246 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006943/0.57, allocations: 75.77 kB / 1.246 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.5701, allocations: 68.84 kB / 1.246 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.5702, allocations: 39.97 kB / 1.246 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005606/0.5708, allocations: 447 kB / 1.246 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5708, allocations: 0 / 1.246 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001055/0.5719, allocations: 319.3 kB / 1.247 GB, free: 1.938 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.001406/0.5733, allocations: 0.6017 MB / 1.247 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.575, allocations: 0.8274 MB / 1.248 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.575, allocations: 4 kB / 1.248 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009068/0.5759, allocations: 0.5197 MB / 1.249 GB, free: 140 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5114/1.087, allocations: 266.3 kB / 1.249 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/1.091, allocations: 2.038 MB / 1.251 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/1.092, allocations: 1.019 MB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009658/1.093, allocations: 255.9 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.093, allocations: 107.8 kB / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.266e-06/1.093, allocations: 0 / 1.252 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03025/1.123, allocations: 14.53 MB / 1.266 GB, free: 180.8 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)