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/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.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") [/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.1987/0.1994, allocations: 82.22 MB / 0.5934 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005361/0.2048, allocations: 3.293 MB / 0.5966 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5464/0.7512, allocations: 126.7 MB / 0.7203 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005554/0.7519, allocations: 12.09 kB / 0.7203 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.7522, allocations: 66.22 kB / 0.7204 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.7534, allocations: 424.1 kB / 0.7208 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.7545, allocations: 467.9 kB / 0.7212 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007732/0.7553, allocations: 0.6801 MB / 0.7219 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.756, allocations: 422.8 kB / 0.7223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.7565, allocations: 296.3 kB / 0.7226 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.7568, allocations: 271 kB / 0.7228 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.425e-05/0.7569, allocations: 17.56 kB / 0.7228 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.7575, allocations: 299 kB / 0.7231 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.7577, allocations: 144.7 kB / 0.7233 GB, free: 320 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.7579, allocations: 172.1 kB / 0.7234 GB, free: 16.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009643/0.7589, allocations: 0.9508 MB / 0.7243 GB, free: 16.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.7589, allocations: 0 / 0.7243 GB, free: 16.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7589, allocations: 0 / 0.7243 GB, free: 16.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.7589, allocations: 0 / 0.7243 GB, free: 16.18 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001718/0.7606, allocations: 1.067 MB / 0.7254 GB, free: 15.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.7607, allocations: 8.781 kB / 0.7254 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.7626, allocations: 306.7 kB / 0.7257 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009216/0.7636, allocations: 0.5976 MB / 0.7263 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.7636, allocations: 58.77 kB / 0.7263 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.7637, allocations: 78.75 kB / 0.7264 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.7653, allocations: 0.8435 MB / 0.7272 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.7653, allocations: 0 / 0.7272 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.7654, allocations: 31.94 kB / 0.7273 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.7654, allocations: 18.38 kB / 0.7273 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.7677, allocations: 1.098 MB / 0.7284 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.7721, allocations: 2.322 MB / 0.7306 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.7739, allocations: 0.8746 MB / 0.7315 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006765/0.7746, allocations: 469 kB / 0.7319 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009391/0.7756, allocations: 471.7 kB / 0.7324 GB, free: 13.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=71): time 2.314e-06/0.7756, allocations: 3.938 kB / 0.7324 GB, free: 13.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=71): time 0.003/0.7786, allocations: 1.097 MB / 0.7334 GB, free: 13.15 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.7787, allocations: 118.4 kB / 0.7336 GB, free: 13.02 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.7793, allocations: 496 kB / 0.734 GB, free: 12.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.7794, allocations: 40.14 kB / 0.7341 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.7797, allocations: 328.3 kB / 0.7344 GB, free: 12.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.7799, allocations: 242.8 kB / 0.7346 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.78, allocations: 9.844 kB / 0.7346 GB, free: 12.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7801, allocations: 371.4 kB / 0.735 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.7807, allocations: 240.3 kB / 0.7352 GB, free: 12.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.7814, allocations: 317.1 kB / 0.7355 GB, free: 11.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.782, allocations: 271.2 kB / 0.7358 GB, free: 11.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.782, allocations: 8.844 kB / 0.7358 GB, free: 11.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001768/0.7838, allocations: 0.75 MB / 0.7365 GB, free: 11.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7838, allocations: 6.344 kB / 0.7365 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7838, allocations: 0 / 0.7365 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.7844, allocations: 82.05 kB / 0.7366 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/0.7851, allocations: 149 kB / 0.7367 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.7869, allocations: 1.419 MB / 0.7381 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006358/0.7875, allocations: 78.8 kB / 0.7382 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.7876, allocations: 28.95 kB / 0.7382 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 (75): * Single equations (assignments): 74 * 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.0004639/0.7881, allocations: 236.8 kB / 0.7384 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.7882, allocations: 68.72 kB / 0.7385 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.7909, allocations: 1.033 MB / 0.7395 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.791, allocations: 7.938 kB / 0.7395 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.791, allocations: 1.312 kB / 0.7395 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.791, allocations: 3.984 kB / 0.7395 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.7944, allocations: 1.813 MB / 0.7413 GB, free: 9.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7944, allocations: 6.734 kB / 0.7413 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/0.7951, allocations: 151.6 kB / 0.7415 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004384/0.7955, allocations: 81.72 kB / 0.7415 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.7956, allocations: 22.69 kB / 0.7416 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.7971, allocations: 1.456 MB / 0.743 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7971, allocations: 0 / 0.743 GB, free: 7.582 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.7992, allocations: 0.9208 MB / 0.7439 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.7996, allocations: 267.2 kB / 0.7441 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.94e-05/0.7997, allocations: 21.88 kB / 0.7442 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.8002, allocations: 68.62 kB / 0.7442 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.8004, allocations: 53.67 kB / 0.7443 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/0.8004, allocations: 34.39 kB / 0.7443 GB, free: 7.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003938/0.8008, allocations: 361 kB / 0.7446 GB, free: 6.883 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8008, allocations: 0 / 0.7446 GB, free: 6.883 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008322/0.8017, allocations: 274.5 kB / 0.7449 GB, free: 6.832 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 (82): * Single equations (assignments): 79 * 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.00122/0.8029, allocations: 0.619 MB / 0.7455 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.8045, allocations: 0.7545 MB / 0.7462 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8045, allocations: 0 / 0.7462 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000845/0.8053, allocations: 0.4955 MB / 0.7467 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.8061, allocations: 177.9 kB / 0.7469 GB, free: 6.129 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.8098, allocations: 1.957 MB / 0.7488 GB, free: 5.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.8105, allocations: 0.9871 MB / 0.7498 GB, free: 4.215 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008051/0.8113, allocations: 236.5 kB / 0.75 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.8115, allocations: 97.75 kB / 0.7501 GB, free: 4.062 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.8115, allocations: 2.719 kB / 0.7501 GB, free: 4.062 MB / 0.545 GB Notification: Performance of Templates: time 0.01819/0.8297, allocations: 11.33 MB / 0.7612 GB, free: 14.42 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: