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.001288/0.001288, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 192 kB / 16.53 MB, free: 6.391 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.682/2.682, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 62.95 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2909, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006873/0.2978, allocations: 4.816 MB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.151/0.4489, allocations: 150.6 MB / 1.22 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007385/0.4496, allocations: 19.88 kB / 1.22 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.4502, allocations: 182.3 kB / 1.22 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.4519, allocations: 0.551 MB / 1.221 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.4537, allocations: 0.8302 MB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.455, allocations: 1.37 MB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007885/0.4558, allocations: 0.5869 MB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.4564, allocations: 486.4 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005202/0.4569, allocations: 0.5017 MB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.4571, allocations: 116 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008072/0.4579, allocations: 463.7 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/0.4582, allocations: 291.1 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.4586, allocations: 0.5635 MB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.4602, allocations: 1.593 MB / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4602, allocations: 0 / 1.227 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4602, allocations: 4 kB / 1.227 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.4602, allocations: 0 / 1.227 GB, free: 6.859 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.00222/0.4625, allocations: 1.426 MB / 1.229 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4625, allocations: 8.031 kB / 1.229 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008827/0.4634, allocations: 187.4 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009493/0.4643, allocations: 0.7383 MB / 1.23 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.4644, allocations: 62 kB / 1.23 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.85e-05/0.4645, allocations: 80 kB / 1.23 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.4659, allocations: 0.9222 MB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.466, allocations: 0 / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.4661, allocations: 39.98 kB / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.4661, allocations: 20 kB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.4677, allocations: 1.108 MB / 1.232 GB, free: 2.141 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.003786/0.4715, allocations: 2.732 MB / 1.234 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.473, allocations: 0.8885 MB / 1.235 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000511/0.4736, allocations: 306.6 kB / 1.236 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.719e-05/0.4737, allocations: 28.61 kB / 1.236 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008543/0.4745, allocations: 0.4951 MB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=79): time 2.715e-06/0.4745, allocations: 0 / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of matching and sorting (n=79): time 0.003011/0.4775, allocations: 1.194 MB / 1.237 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.4776, allocations: 188.6 kB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.4784, allocations: 0.6253 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.4785, allocations: 41.7 kB / 1.238 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.4788, allocations: 388.4 kB / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.479, allocations: 264.3 kB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.4792, allocations: 158.5 kB / 1.239 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4794, allocations: 390.7 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.4799, allocations: 265.9 kB / 1.239 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00063/0.4806, allocations: 367.1 kB / 1.24 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.4816, allocations: 0.6033 MB / 1.24 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4816, allocations: 0 / 1.24 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001874/0.4835, allocations: 0.8448 MB / 1.241 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.4836, allocations: 8 kB / 1.241 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4836, allocations: 4.094 kB / 1.241 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/0.4842, allocations: 88.7 kB / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.4848, allocations: 155.8 kB / 1.242 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.487, allocations: 1.642 MB / 1.243 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/0.4877, allocations: 89.61 kB / 1.243 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.708e-05/0.4878, allocations: 39.97 kB / 1.243 GB, free: 5.93 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.0004436/0.4882, allocations: 276.1 kB / 1.243 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.4884, allocations: 86.8 kB / 1.244 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002302/0.4907, allocations: 1.058 MB / 1.245 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.4907, allocations: 11.94 kB / 1.245 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4907, allocations: 3.938 kB / 1.245 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.4907, allocations: 3.984 kB / 1.245 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.4938, allocations: 1.954 MB / 1.247 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4939, allocations: 0 / 1.247 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.4944, allocations: 143.8 kB / 1.247 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004442/0.4949, allocations: 76.78 kB / 1.247 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/0.4949, allocations: 19.98 kB / 1.247 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.4968, allocations: 1.689 MB / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4968, allocations: 0 / 1.248 GB, free: 396 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4943/0.9912, allocations: 0.9851 MB / 1.249 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/0.9916, allocations: 271.6 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.9917, allocations: 22.25 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/0.9924, allocations: 60.86 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.9926, allocations: 71.47 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/0.9926, allocations: 32.17 kB / 1.25 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005998/0.9932, allocations: 454.1 kB / 1.25 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9933, allocations: 3.281 kB / 1.25 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000909/0.9942, allocations: 320.3 kB / 1.251 GB, free: 183.7 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.001304/0.9955, allocations: 0.6041 MB / 1.251 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002351/0.9978, allocations: 1.027 MB / 1.252 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.9979, allocations: 0.6875 kB / 1.252 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008939/0.9988, allocations: 0.5176 MB / 1.253 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1, allocations: 304.5 kB / 1.253 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/1.003, allocations: 1.652 MB / 1.255 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/1.003, allocations: 1.022 MB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007608/1.004, allocations: 265.3 kB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/1.004, allocations: 102.4 kB / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.004, allocations: 0 / 1.256 GB, free: 182 MB / 0.9981 GB Notification: Performance of Templates: time 0.026/1.03, allocations: 15.17 MB / 1.271 GB, free: 179.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)