Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, 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.001395/0.001395, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.94 kB / 0.9113 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006053/0.3489, allocations: 4.796 MB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1584/0.5073, allocations: 148.3 MB / 1.217 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009895/0.5083, allocations: 15.94 kB / 1.217 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008381/0.5092, allocations: 150.8 kB / 1.217 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.5115, allocations: 464.4 kB / 1.218 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.5136, allocations: 0.7108 MB / 1.218 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.5154, allocations: 1.277 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.5165, allocations: 0.5516 MB / 1.22 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008437/0.5174, allocations: 418.3 kB / 1.22 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007301/0.5181, allocations: 465.8 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000215/0.5183, allocations: 52 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009732/0.5193, allocations: 391.7 kB / 1.221 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.5196, allocations: 239 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006356/0.5203, allocations: 0.4933 MB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.5222, allocations: 1.515 MB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5222, allocations: 3.938 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5222, allocations: 0 / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.41e-05/0.5223, allocations: 4 kB / 1.224 GB, free: 10.5 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003153/0.5254, allocations: 1.407 MB / 1.225 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5255, allocations: 8.031 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.5265, allocations: 187.4 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.5277, allocations: 0.7344 MB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.5278, allocations: 62 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.5279, allocations: 80 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.5296, allocations: 0.8989 MB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.5297, allocations: 0 / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.5298, allocations: 36 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.5298, allocations: 20 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.5315, allocations: 1.1 MB / 1.228 GB, free: 5.836 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.003934/0.5355, allocations: 2.673 MB / 1.231 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.537, allocations: 0.8701 MB / 1.231 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005277/0.5375, allocations: 306.7 kB / 1.232 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.848e-05/0.5376, allocations: 28.61 kB / 1.232 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009493/0.5386, allocations: 495 kB / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.865e-06/0.5386, allocations: 0 / 1.232 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003279/0.5419, allocations: 1.178 MB / 1.233 GB, free: 108 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.542, allocations: 196.6 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.5428, allocations: 0.6214 MB / 1.234 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.5429, allocations: 41.7 kB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.5432, allocations: 388.4 kB / 1.235 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.5434, allocations: 256.3 kB / 1.235 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.5436, allocations: 162.5 kB / 1.235 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5438, allocations: 390.7 kB / 1.235 GB, free: 14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/0.5443, allocations: 265.8 kB / 1.236 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.545, allocations: 355.1 kB / 1.236 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.5461, allocations: 0.6034 MB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5461, allocations: 0 / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001934/0.548, allocations: 0.8409 MB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5481, allocations: 4 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.5481, allocations: 4 kB / 1.237 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/0.5487, allocations: 84.86 kB / 1.237 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.5494, allocations: 151.8 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.5515, allocations: 1.545 MB / 1.239 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/0.5522, allocations: 87.33 kB / 1.239 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/0.5523, allocations: 39.97 kB / 1.239 GB, free: 9.863 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.0004465/0.5528, allocations: 266.5 kB / 1.239 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.5529, allocations: 90.91 kB / 1.24 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.5554, allocations: 1.046 MB / 1.241 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.5554, allocations: 8 kB / 1.241 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5554, allocations: 0 / 1.241 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.5554, allocations: 3.984 kB / 1.241 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.5587, allocations: 1.907 MB / 1.242 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5587, allocations: 0 / 1.242 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.5593, allocations: 143.8 kB / 1.243 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005248/0.5599, allocations: 96.62 kB / 1.243 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-05/0.5599, allocations: 23.98 kB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.5618, allocations: 1.548 MB / 1.244 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5618, allocations: 0 / 1.244 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.5638, allocations: 0.9765 MB / 1.245 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.5642, allocations: 267.7 kB / 1.245 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.5643, allocations: 23.98 kB / 1.245 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.5651, allocations: 63.94 kB / 1.245 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.5653, allocations: 76.83 kB / 1.246 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.5653, allocations: 27.98 kB / 1.246 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006287/0.566, allocations: 455 kB / 1.246 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.566, allocations: 0 / 1.246 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009887/0.567, allocations: 323.2 kB / 1.246 GB, free: 2.293 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.001494/0.5685, allocations: 0.606 MB / 1.247 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.5703, allocations: 0.8158 MB / 1.248 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5703, allocations: 4 kB / 1.248 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.5713, allocations: 0.5119 MB / 1.248 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.5726, allocations: 279.7 kB / 1.248 GB, free: 244 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5395/1.112, allocations: 2.011 MB / 1.25 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007017/1.113, allocations: 1.019 MB / 1.251 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001066/1.114, allocations: 266.3 kB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/1.114, allocations: 104.6 kB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.223e-06/1.114, allocations: 4.547 kB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03214/1.146, allocations: 14.3 MB / 1.266 GB, free: 180.6 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)