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/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.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") [/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.176/0.1767, allocations: 82.22 MB / 0.5934 GB, free: 6.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004998/0.1818, allocations: 3.227 MB / 0.5965 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5632/0.7451, allocations: 126.7 MB / 0.7202 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.7457, allocations: 9.344 kB / 0.7202 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.7461, allocations: 61.5 kB / 0.7203 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.7471, allocations: 418.9 kB / 0.7207 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.7482, allocations: 453.8 kB / 0.7211 GB, free: 488 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007315/0.749, allocations: 0.655 MB / 0.7217 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000577/0.7496, allocations: 412.1 kB / 0.7221 GB, free: 376 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.75, allocations: 275.5 kB / 0.7224 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.7503, allocations: 263.5 kB / 0.7227 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.7504, allocations: 17.62 kB / 0.7227 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006454/0.751, allocations: 296.8 kB / 0.723 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.7512, allocations: 138.8 kB / 0.7231 GB, free: 200 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.7514, allocations: 167 kB / 0.7232 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009955/0.7524, allocations: 0.9369 MB / 0.7242 GB, free: 68 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.7524, allocations: 0 / 0.7242 GB, free: 68 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7524, allocations: 1.656 kB / 0.7242 GB, free: 68 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.7524, allocations: 0 / 0.7242 GB, free: 68 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.001854/0.7543, allocations: 1.048 MB / 0.7252 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.7543, allocations: 13.5 kB / 0.7252 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.7563, allocations: 302.4 kB / 0.7255 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009217/0.7572, allocations: 0.5952 MB / 0.7261 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.7573, allocations: 55.53 kB / 0.7261 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.7574, allocations: 71 kB / 0.7262 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.759, allocations: 0.8304 MB / 0.727 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.759, allocations: 0 / 0.727 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.811e-05/0.7591, allocations: 32.88 kB / 0.727 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.7592, allocations: 17.66 kB / 0.727 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.7612, allocations: 1.08 MB / 0.7281 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.7655, allocations: 2.289 MB / 0.7303 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.7675, allocations: 0.8574 MB / 0.7312 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000621/0.7681, allocations: 472.6 kB / 0.7316 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009017/0.7691, allocations: 453 kB / 0.7321 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=69): time 2.655e-06/0.7691, allocations: 0 / 0.7321 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=69): time 0.002866/0.7719, allocations: 1.077 MB / 0.7331 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.046e-05/0.772, allocations: 116.3 kB / 0.7332 GB, free: 13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006145/0.7727, allocations: 490.7 kB / 0.7337 GB, free: 12.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.7727, allocations: 41.8 kB / 0.7337 GB, free: 12.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.773, allocations: 323.6 kB / 0.734 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.7732, allocations: 233.1 kB / 0.7343 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.7732, allocations: 13.56 kB / 0.7343 GB, free: 12.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7734, allocations: 363.9 kB / 0.7346 GB, free: 12.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.774, allocations: 237.7 kB / 0.7348 GB, free: 12.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.7746, allocations: 305.2 kB / 0.7351 GB, free: 11.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.7752, allocations: 277.7 kB / 0.7354 GB, free: 11.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.7753, allocations: 0 / 0.7354 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00186/0.7771, allocations: 0.7272 MB / 0.7361 GB, free: 11.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.7772, allocations: 5.469 kB / 0.7361 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.7772, allocations: 7.406 kB / 0.7361 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/0.7777, allocations: 71.39 kB / 0.7362 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.7784, allocations: 145.3 kB / 0.7363 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.7803, allocations: 1.431 MB / 0.7377 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.7811, allocations: 75.17 kB / 0.7378 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.7811, allocations: 31.39 kB / 0.7378 GB, free: 10.23 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 (73): * Single equations (assignments): 72 * 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.0005138/0.7817, allocations: 246.5 kB / 0.7381 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.7818, allocations: 67.89 kB / 0.7381 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.7845, allocations: 0.9602 MB / 0.7391 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.7845, allocations: 8.875 kB / 0.7391 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.7845, allocations: 7.922 kB / 0.7391 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.7845, allocations: 3.984 kB / 0.7391 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.7881, allocations: 1.732 MB / 0.7408 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.7881, allocations: 0 / 0.7408 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/0.7888, allocations: 144.3 kB / 0.7409 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/0.7893, allocations: 81.55 kB / 0.741 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.574e-05/0.7894, allocations: 19.61 kB / 0.741 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.7909, allocations: 1.469 MB / 0.7424 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.791, allocations: 0 / 0.7424 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.7931, allocations: 0.8823 MB / 0.7433 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005855/0.7937, allocations: 259.3 kB / 0.7436 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.7939, allocations: 18.09 kB / 0.7436 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/0.7946, allocations: 68.31 kB / 0.7436 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.7948, allocations: 47.72 kB / 0.7437 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.745e-05/0.7948, allocations: 31.88 kB / 0.7437 GB, free: 7.086 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000617/0.7955, allocations: 350 kB / 0.744 GB, free: 6.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7955, allocations: 0 / 0.744 GB, free: 6.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001151/0.7966, allocations: 272.7 kB / 0.7443 GB, free: 6.898 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 (77): * Single equations (assignments): 74 * 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.001613/0.7983, allocations: 0.6196 MB / 0.7449 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.8003, allocations: 0.7275 MB / 0.7456 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.8003, allocations: 3.5 kB / 0.7456 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.8013, allocations: 481.4 kB / 0.7461 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009669/0.8023, allocations: 172.7 kB / 0.7462 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004642/0.8069, allocations: 1.892 MB / 0.7481 GB, free: 5.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008832/0.8079, allocations: 0.9737 MB / 0.749 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001175/0.8091, allocations: 245.1 kB / 0.7493 GB, free: 4.211 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.8094, allocations: 93.75 kB / 0.7494 GB, free: 4.184 MB / 0.545 GB Notification: Performance of SimCode: time 1.203e-06/0.8094, allocations: 0 / 0.7494 GB, free: 4.184 MB / 0.545 GB Notification: Performance of Templates: time 0.0216/0.831, allocations: 11.02 MB / 0.7601 GB, free: 14.71 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: