Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001544/0.001544, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 60.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6869, allocations: 151.6 MB / 1.167 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006253/0.6932, allocations: 4.948 MB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.8491, allocations: 150.6 MB / 1.319 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008187/0.85, allocations: 15.94 kB / 1.319 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007485/0.8507, allocations: 198.1 kB / 1.319 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.8528, allocations: 0.5561 MB / 1.32 GB, free: 6.988 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.855, allocations: 0.8654 MB / 1.321 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.8567, allocations: 1.429 MB / 1.322 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009892/0.8577, allocations: 0.5922 MB / 1.323 GB, free: 4.074 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008413/0.8586, allocations: 0.4982 MB / 1.323 GB, free: 3.574 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007441/0.8593, allocations: 0.5251 MB / 1.324 GB, free: 3.047 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.8596, allocations: 120 kB / 1.324 GB, free: 2.93 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009751/0.8606, allocations: 491.5 kB / 1.324 GB, free: 2.449 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.8609, allocations: 307 kB / 1.325 GB, free: 2.148 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.8615, allocations: 0.5713 MB / 1.325 GB, free: 1.574 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.8634, allocations: 1.669 MB / 1.327 GB, free: 15.9 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.8635, allocations: 7.984 kB / 1.327 GB, free: 15.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8635, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.8635, allocations: 0 / 1.327 GB, free: 15.89 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002469/0.866, allocations: 1.501 MB / 1.328 GB, free: 14.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.866, allocations: 8.031 kB / 1.328 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009493/0.867, allocations: 192 kB / 1.329 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.8682, allocations: 0.7864 MB / 1.329 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.8683, allocations: 62 kB / 1.329 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.8684, allocations: 88 kB / 1.329 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.8702, allocations: 0.9535 MB / 1.33 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.8703, allocations: 0 / 1.33 GB, free: 12.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.103e-05/0.8704, allocations: 40 kB / 1.33 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/0.8704, allocations: 20 kB / 1.33 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.8723, allocations: 1.124 MB / 1.332 GB, free: 10.99 MB / 1.061 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.004289/0.8766, allocations: 2.744 MB / 1.334 GB, free: 8.129 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/0.8781, allocations: 0.912 MB / 1.335 GB, free: 7.199 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.8787, allocations: 314.7 kB / 1.335 GB, free: 6.891 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.535e-05/0.8788, allocations: 36.67 kB / 1.335 GB, free: 6.855 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008875/0.8797, allocations: 0.5128 MB / 1.336 GB, free: 6.324 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 2.945e-06/0.8797, allocations: 0 / 1.336 GB, free: 6.324 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.003302/0.883, allocations: 1.259 MB / 1.337 GB, free: 5.035 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.8832, allocations: 208.8 kB / 1.337 GB, free: 4.789 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/0.8839, allocations: 0.641 MB / 1.338 GB, free: 4.137 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.884, allocations: 41.7 kB / 1.338 GB, free: 4.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.8843, allocations: 405.1 kB / 1.338 GB, free: 3.688 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.8846, allocations: 289.6 kB / 1.339 GB, free: 3.402 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002568/0.8848, allocations: 178.5 kB / 1.339 GB, free: 3.223 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.885, allocations: 382.8 kB / 1.339 GB, free: 2.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/0.8856, allocations: 285.8 kB / 1.34 GB, free: 2.559 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.8863, allocations: 387.9 kB / 1.34 GB, free: 2.164 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.8875, allocations: 0.6329 MB / 1.34 GB, free: 1.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8875, allocations: 0 / 1.34 GB, free: 1.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002136/0.8897, allocations: 0.8882 MB / 1.341 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.8897, allocations: 4 kB / 1.341 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8897, allocations: 3.938 kB / 1.341 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.8903, allocations: 84.89 kB / 1.341 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.891, allocations: 171.7 kB / 1.342 GB, free: 364 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.8931, allocations: 1.635 MB / 1.343 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007994/0.8939, allocations: 107.5 kB / 1.343 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/0.894, allocations: 43.91 kB / 1.343 GB, free: 14.43 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (101): * Single equations (assignments): 100 * 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.0004765/0.8945, allocations: 275.7 kB / 1.344 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.8947, allocations: 87.44 kB / 1.344 GB, free: 14.06 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002705/0.8974, allocations: 1.14 MB / 1.345 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.8975, allocations: 11.86 kB / 1.345 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8975, allocations: 0 / 1.345 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003903/0.8979, allocations: 280.2 kB / 1.345 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.898, allocations: 23.98 kB / 1.345 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/0.8987, allocations: 66.47 kB / 1.345 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.8989, allocations: 76.88 kB / 1.345 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002253/0.9012, allocations: 1.014 MB / 1.346 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002421/0.9036, allocations: 1.481 MB / 1.348 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006226/0.9042, allocations: 383.8 kB / 1.348 GB, free: 9.547 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005919/0.9048, allocations: 467 kB / 1.348 GB, free: 9.094 MB / 1.076 GB Notification: Performance of Backend: time 6.02e-07/0.9049, allocations: 0 / 1.348 GB, free: 9.094 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003364/0.9082, allocations: 1.283 MB / 1.35 GB, free: 8 MB / 1.076 GB Notification: Performance of SimCode: time 0.003204/0.9114, allocations: 2.127 MB / 1.352 GB, free: 5.836 MB / 1.076 GB Notification: Performance of Templates: time 0.02907/0.9405, allocations: 16.96 MB / 1.368 GB, free: 4.996 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)