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.001207/0.001207, 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.001375/0.001375, allocations: 195.5 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 62.48 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3702, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007213/0.3775, allocations: 4.911 MB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.551, allocations: 150.6 MB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.5522, allocations: 19.88 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00064/0.5528, allocations: 194.2 kB / 1.22 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001929/0.5548, allocations: 0.5653 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.557, allocations: 0.8419 MB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.5586, allocations: 1.417 MB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008405/0.5594, allocations: 0.5871 MB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006742/0.5601, allocations: 0.4905 MB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005721/0.5607, allocations: 0.5211 MB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.5608, allocations: 120 kB / 1.225 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009225/0.5618, allocations: 451.7 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.5621, allocations: 311 kB / 1.225 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.5626, allocations: 0.5674 MB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.5642, allocations: 1.624 MB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.5642, allocations: 3.984 kB / 1.228 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5642, allocations: 0 / 1.228 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.5643, allocations: 0 / 1.228 GB, free: 6.523 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.00265/0.5669, allocations: 1.459 MB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.567, allocations: 8.031 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.568, allocations: 191.4 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.5691, allocations: 0.7546 MB / 1.23 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.05e-05/0.5691, allocations: 66 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.5693, allocations: 87.92 kB / 1.23 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.5709, allocations: 0.9418 MB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5709, allocations: 0 / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/0.571, allocations: 36 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.571, allocations: 24 kB / 1.231 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.5728, allocations: 1.124 MB / 1.232 GB, free: 1.703 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.004238/0.5771, allocations: 2.747 MB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.5787, allocations: 0.912 MB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.5793, allocations: 310.7 kB / 1.236 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.06e-05/0.5794, allocations: 36.67 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009313/0.5803, allocations: 0.5081 MB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 3.036e-06/0.5803, allocations: 4 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.00341/0.5838, allocations: 1.255 MB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.5839, allocations: 188.9 kB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008361/0.5847, allocations: 0.6448 MB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.5848, allocations: 41.7 kB / 1.239 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.5851, allocations: 400.4 kB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.5854, allocations: 272.2 kB / 1.239 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.5856, allocations: 178.4 kB / 1.239 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5858, allocations: 390.7 kB / 1.24 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.5864, allocations: 277.8 kB / 1.24 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.587, allocations: 375.1 kB / 1.24 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.5881, allocations: 0.6242 MB / 1.241 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5881, allocations: 0 / 1.241 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002013/0.5902, allocations: 0.8722 MB / 1.242 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5902, allocations: 8 kB / 1.242 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5902, allocations: 8.031 kB / 1.242 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006091/0.5908, allocations: 80.77 kB / 1.242 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.5915, allocations: 175.7 kB / 1.242 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.5937, allocations: 1.624 MB / 1.244 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/0.5945, allocations: 91.31 kB / 1.244 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-05/0.5946, allocations: 39.97 kB / 1.244 GB, free: 5.238 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.0004851/0.5951, allocations: 283.7 kB / 1.244 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.5953, allocations: 82.97 kB / 1.244 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.5978, allocations: 1.14 MB / 1.245 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.5978, allocations: 11.94 kB / 1.245 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5978, allocations: 0 / 1.245 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.5978, allocations: 11.97 kB / 1.245 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.6011, allocations: 2.004 MB / 1.247 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6011, allocations: 0 / 1.247 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.6017, allocations: 155.8 kB / 1.247 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004747/0.6022, allocations: 68.8 kB / 1.248 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.6023, allocations: 27.97 kB / 1.248 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6599/1.262, allocations: 1.661 MB / 1.249 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.262, allocations: 1.391 kB / 1.249 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/1.265, allocations: 1.047 MB / 1.25 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/1.265, allocations: 280.4 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.266, allocations: 25.83 kB / 1.25 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/1.266, allocations: 71.2 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002253/1.267, allocations: 76.59 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/1.267, allocations: 35.95 kB / 1.251 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007287/1.267, allocations: 466.8 kB / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.267, allocations: 0 / 1.251 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001116/1.269, allocations: 339.1 kB / 1.251 GB, free: 182.4 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.001503/1.27, allocations: 0.6057 MB / 1.252 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002786/1.273, allocations: 1.08 MB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.273, allocations: 4.844 kB / 1.253 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.274, allocations: 0.5365 MB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.275, allocations: 307.5 kB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003305/1.279, allocations: 1.714 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/1.279, allocations: 1.032 MB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007924/1.28, allocations: 271 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/1.28, allocations: 111.4 kB / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.28, allocations: 0 / 1.257 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03349/1.314, allocations: 15.61 MB / 1.272 GB, free: 178.2 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)