Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient.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.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient") [/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.1725/0.1736, allocations: 82.22 MB / 0.5934 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient): time 0.005241/0.1789, allocations: 3.5 MB / 0.5968 GB, free: 2.469 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5331/0.712, allocations: 126.8 MB / 0.7206 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008851/0.713, allocations: 7.594 kB / 0.7206 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.7134, allocations: 73.3 kB / 0.7207 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.7149, allocations: 415 kB / 0.7211 GB, free: 500 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.7163, allocations: 0.5343 MB / 0.7216 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009989/0.7173, allocations: 0.7509 MB / 0.7223 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008565/0.7181, allocations: 0.5126 MB / 0.7228 GB, free: 336 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006522/0.7188, allocations: 353.5 kB / 0.7232 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.7194, allocations: 363.6 kB / 0.7235 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.431e-05/0.7195, allocations: 26.03 kB / 0.7235 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009482/0.7204, allocations: 299.7 kB / 0.7238 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.7207, allocations: 184.2 kB / 0.724 GB, free: 124 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.7209, allocations: 195.4 kB / 0.7242 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.7224, allocations: 1.112 MB / 0.7253 GB, free: 15.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.7224, allocations: 0 / 0.7253 GB, free: 15.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7224, allocations: 0 / 0.7253 GB, free: 15.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.7224, allocations: 0.875 kB / 0.7253 GB, free: 15.97 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002577/0.725, allocations: 1.236 MB / 0.7265 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.7251, allocations: 9.844 kB / 0.7265 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006077/0.7311, allocations: 0.9032 MB / 0.7274 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.7324, allocations: 0.6753 MB / 0.728 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.7325, allocations: 74.7 kB / 0.7281 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.7327, allocations: 96.19 kB / 0.7282 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003634/0.7363, allocations: 1.34 MB / 0.7295 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.7363, allocations: 0.5938 kB / 0.7295 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.7365, allocations: 47.28 kB / 0.7296 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.7365, allocations: 28.12 kB / 0.7296 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005082/0.7416, allocations: 1.877 MB / 0.7314 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006514/0.7481, allocations: 3.099 MB / 0.7344 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.7517, allocations: 1.27 MB / 0.7357 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007064/0.7524, allocations: 479.5 kB / 0.7361 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/0.7544, allocations: 0.7586 MB / 0.7369 GB, free: 11.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=97): time 3.406e-06/0.7544, allocations: 0 / 0.7369 GB, free: 11.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=97): time 0.005804/0.7603, allocations: 1.828 MB / 0.7387 GB, free: 11.42 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.7604, allocations: 121.2 kB / 0.7388 GB, free: 11.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.761, allocations: 0.4959 MB / 0.7393 GB, free: 11.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.7611, allocations: 43.92 kB / 0.7393 GB, free: 11.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.7615, allocations: 382.5 kB / 0.7397 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.7617, allocations: 317.2 kB / 0.74 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/0.7618, allocations: 15.72 kB / 0.74 GB, free: 10.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.762, allocations: 382.7 kB / 0.7404 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.7634, allocations: 477.1 kB / 0.7408 GB, free: 10.17 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.7648, allocations: 0.5541 MB / 0.7413 GB, free: 10 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.7663, allocations: 499.8 kB / 0.7418 GB, free: 9.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7663, allocations: 0 / 0.7418 GB, free: 9.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00361/0.7699, allocations: 1.249 MB / 0.743 GB, free: 9.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.7699, allocations: 5.375 kB / 0.7431 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.7699, allocations: 0 / 0.7431 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.7705, allocations: 80.38 kB / 0.7431 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.7719, allocations: 255.2 kB / 0.7434 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.7737, allocations: 1.413 MB / 0.7448 GB, free: 8.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.775, allocations: 152.9 kB / 0.7449 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.7751, allocations: 41.28 kB / 0.7449 GB, free: 8.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 101 * 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.0006091/0.7757, allocations: 263.9 kB / 0.7452 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.7759, allocations: 79.5 kB / 0.7453 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.7808, allocations: 1.574 MB / 0.7468 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.7809, allocations: 10.28 kB / 0.7468 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.7809, allocations: 4.562 kB / 0.7468 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.7809, allocations: 7.984 kB / 0.7468 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002264/0.7832, allocations: 1.032 MB / 0.7478 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-05/0.7832, allocations: 2.719 kB / 0.7478 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/0.7847, allocations: 255.5 kB / 0.7481 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000522/0.7852, allocations: 74.23 kB / 0.7481 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.7854, allocations: 29.5 kB / 0.7482 GB, free: 6.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.7874, allocations: 1.478 MB / 0.7496 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.7874, allocations: 3.953 kB / 0.7496 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003952/0.7914, allocations: 1.339 MB / 0.7509 GB, free: 5.113 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/0.7921, allocations: 305 kB / 0.7512 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/0.7923, allocations: 22.27 kB / 0.7512 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.7935, allocations: 121.4 kB / 0.7514 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.7936, allocations: 71.7 kB / 0.7514 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.7938, allocations: 40.53 kB / 0.7515 GB, free: 4.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006127/0.7944, allocations: 362.5 kB / 0.7518 GB, free: 4.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.12e-07/0.7944, allocations: 0 / 0.7518 GB, free: 4.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001447/0.7958, allocations: 339.1 kB / 0.7521 GB, free: 4.629 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.conTim1.tStart,weaDat.conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * 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.001926/0.7978, allocations: 0.6227 MB / 0.7527 GB, free: 4.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003894/0.8017, allocations: 1.282 MB / 0.754 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.8017, allocations: 2.625 kB / 0.754 GB, free: 4.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.8037, allocations: 0.7633 MB / 0.7547 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.8049, allocations: 189.1 kB / 0.7549 GB, free: 3.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/0.811, allocations: 2.419 MB / 0.7573 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008487/0.8119, allocations: 1.048 MB / 0.7583 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001862/0.8137, allocations: 308.7 kB / 0.7586 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.8142, allocations: 115 kB / 0.7587 GB, free: 1.406 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.8142, allocations: 0 / 0.7587 GB, free: 1.406 MB / 0.545 GB Notification: Performance of Templates: time 0.02941/0.8436, allocations: 13.78 MB / 0.7722 GB, free: 10.5 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoeffcient.pipe 2>&1) Environment - environmentSimulation: