Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1921/0.1928, allocations: 82.22 MB / 0.5934 GB, free: 5.996 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004684/0.1975, allocations: 3.309 MB / 0.5966 GB, free: 2.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5637/0.7612, allocations: 126.7 MB / 0.7203 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.7618, allocations: 10.84 kB / 0.7203 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.7622, allocations: 61.44 kB / 0.7204 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.7634, allocations: 428.5 kB / 0.7208 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.7646, allocations: 473.4 kB / 0.7212 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008452/0.7655, allocations: 0.6748 MB / 0.7219 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006715/0.7661, allocations: 429.3 kB / 0.7223 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.7666, allocations: 300.8 kB / 0.7226 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.767, allocations: 276.8 kB / 0.7229 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.7671, allocations: 18.59 kB / 0.7229 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007198/0.7678, allocations: 298 kB / 0.7232 GB, free: 304 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001559/0.768, allocations: 142.8 kB / 0.7233 GB, free: 272 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.7681, allocations: 167.8 kB / 0.7235 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.7691, allocations: 0.9605 MB / 0.7244 GB, free: 136 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.7692, allocations: 0 / 0.7244 GB, free: 136 kB / 0.5294 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7692, allocations: 0 / 0.7244 GB, free: 136 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.7692, allocations: 0.6875 kB / 0.7244 GB, free: 136 kB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002011/0.7712, allocations: 1.069 MB / 0.7254 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.7713, allocations: 8.938 kB / 0.7255 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/0.7733, allocations: 306.8 kB / 0.7257 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.7744, allocations: 0.602 MB / 0.7263 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.771e-05/0.7745, allocations: 60.69 kB / 0.7264 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.7746, allocations: 78.19 kB / 0.7265 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.7763, allocations: 0.8473 MB / 0.7273 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.7764, allocations: 0.5625 kB / 0.7273 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.7764, allocations: 32.56 kB / 0.7273 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.7765, allocations: 17.88 kB / 0.7273 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/0.7788, allocations: 1.103 MB / 0.7284 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004787/0.7836, allocations: 2.329 MB / 0.7307 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001893/0.7855, allocations: 0.8766 MB / 0.7315 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006665/0.7862, allocations: 474.8 kB / 0.732 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.7872, allocations: 467.8 kB / 0.7324 GB, free: 13.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.7872, allocations: 0 / 0.7324 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.003134/0.7904, allocations: 1.105 MB / 0.7335 GB, free: 13.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.376e-05/0.7905, allocations: 122.4 kB / 0.7336 GB, free: 12.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.7912, allocations: 499.6 kB / 0.7341 GB, free: 12.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.7912, allocations: 41.23 kB / 0.7342 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.7915, allocations: 332.4 kB / 0.7345 GB, free: 12.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.7917, allocations: 237 kB / 0.7347 GB, free: 12.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.7918, allocations: 12.53 kB / 0.7347 GB, free: 12.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.792, allocations: 368.3 kB / 0.7351 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006458/0.7926, allocations: 245.6 kB / 0.7353 GB, free: 11.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.7932, allocations: 316 kB / 0.7356 GB, free: 11.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.7939, allocations: 275.1 kB / 0.7359 GB, free: 11.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.7939, allocations: 5.969 kB / 0.7359 GB, free: 11.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001871/0.7958, allocations: 0.7515 MB / 0.7366 GB, free: 11.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7958, allocations: 9.344 kB / 0.7366 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.7958, allocations: 2.906 kB / 0.7366 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.7964, allocations: 79.95 kB / 0.7367 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.7971, allocations: 157.1 kB / 0.7368 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.7988, allocations: 1.415 MB / 0.7382 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.7995, allocations: 83.7 kB / 0.7383 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.7995, allocations: 24.7 kB / 0.7383 GB, free: 10.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004362/0.8, allocations: 240.2 kB / 0.7386 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.8001, allocations: 71.59 kB / 0.7386 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.8027, allocations: 1.035 MB / 0.7396 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.8027, allocations: 8 kB / 0.7396 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.8027, allocations: 1.812 kB / 0.7396 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.8027, allocations: 3.984 kB / 0.7396 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.8061, allocations: 1.822 MB / 0.7414 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.8061, allocations: 0 / 0.7414 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.8067, allocations: 158.4 kB / 0.7416 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/0.8072, allocations: 76.81 kB / 0.7416 GB, free: 8.891 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/0.8072, allocations: 27.69 kB / 0.7417 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.8088, allocations: 1.457 MB / 0.7431 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8088, allocations: 0 / 0.7431 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.8107, allocations: 0.9278 MB / 0.744 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004286/0.8112, allocations: 268.8 kB / 0.7443 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.684e-05/0.8113, allocations: 22.05 kB / 0.7443 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.8118, allocations: 64.88 kB / 0.7443 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.812, allocations: 60.72 kB / 0.7444 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/0.812, allocations: 31.39 kB / 0.7444 GB, free: 6.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004562/0.8125, allocations: 353.7 kB / 0.7448 GB, free: 6.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8125, allocations: 0 / 0.7448 GB, free: 6.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009887/0.8135, allocations: 281 kB / 0.745 GB, free: 6.77 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001387/0.8149, allocations: 0.611 MB / 0.7456 GB, free: 6.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002095/0.817, allocations: 0.7633 MB / 0.7464 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.817, allocations: 0 / 0.7464 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009977/0.818, allocations: 0.4969 MB / 0.7469 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009046/0.8189, allocations: 179.8 kB / 0.747 GB, free: 6.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.8233, allocations: 1.971 MB / 0.749 GB, free: 4.973 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.824, allocations: 0.9913 MB / 0.7499 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001078/0.8251, allocations: 236.5 kB / 0.7502 GB, free: 4.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.8254, allocations: 91.89 kB / 0.7502 GB, free: 3.996 MB / 0.545 GB Notification: Performance of SimCode: time 1.552e-06/0.8254, allocations: 0 / 0.7502 GB, free: 3.996 MB / 0.545 GB Notification: Performance of Templates: time 0.02022/0.8456, allocations: 11.37 MB / 0.7613 GB, free: 14.33 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) Environment - environmentSimulation: