Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [/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.204/0.2048, allocations: 82.22 MB / 0.5934 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005243/0.2101, allocations: 3.309 MB / 0.5966 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6012/0.8113, allocations: 126.7 MB / 0.7203 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005384/0.8119, allocations: 11.91 kB / 0.7203 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.8123, allocations: 63.95 kB / 0.7204 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.8135, allocations: 427 kB / 0.7208 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.8147, allocations: 467.3 kB / 0.7212 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000779/0.8155, allocations: 0.6714 MB / 0.7219 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006191/0.8161, allocations: 432.7 kB / 0.7223 GB, free: 456 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.8166, allocations: 283.7 kB / 0.7226 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.8169, allocations: 272.8 kB / 0.7228 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.817, allocations: 17.97 kB / 0.7228 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000769/0.8178, allocations: 299.1 kB / 0.7231 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.818, allocations: 142.5 kB / 0.7233 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.8182, allocations: 172.5 kB / 0.7234 GB, free: 16.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.8193, allocations: 0.9754 MB / 0.7244 GB, free: 16.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.8193, allocations: 0 / 0.7244 GB, free: 16.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8193, allocations: 0 / 0.7244 GB, free: 16.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.942e-05/0.8193, allocations: 0.6562 kB / 0.7244 GB, free: 16.13 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.00187/0.8212, allocations: 1.06 MB / 0.7254 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.8213, allocations: 12.91 kB / 0.7254 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.8234, allocations: 329.4 kB / 0.7257 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.8245, allocations: 0.6026 MB / 0.7263 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.794e-05/0.8245, allocations: 60.64 kB / 0.7264 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.8247, allocations: 75.03 kB / 0.7265 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.8264, allocations: 0.8626 MB / 0.7273 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.8264, allocations: 0.9062 kB / 0.7273 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.8265, allocations: 34.5 kB / 0.7273 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.8265, allocations: 18.59 kB / 0.7274 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.8287, allocations: 1.119 MB / 0.7285 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.8332, allocations: 2.369 MB / 0.7308 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002691/0.836, allocations: 0.8885 MB / 0.7316 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007054/0.8367, allocations: 472.6 kB / 0.7321 GB, free: 13.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.8378, allocations: 483.1 kB / 0.7325 GB, free: 13.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.8378, allocations: 2.734 kB / 0.7325 GB, free: 13.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.003178/0.841, allocations: 1.158 MB / 0.7337 GB, free: 13.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.581e-05/0.8411, allocations: 111.7 kB / 0.7338 GB, free: 12.99 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.8418, allocations: 491.8 kB / 0.7343 GB, free: 12.81 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.674e-05/0.8418, allocations: 40.08 kB / 0.7343 GB, free: 12.78 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.8421, allocations: 330.6 kB / 0.7346 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.8423, allocations: 240.2 kB / 0.7348 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.8424, allocations: 20.19 kB / 0.7349 GB, free: 12.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.8426, allocations: 367 kB / 0.7352 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.8432, allocations: 257.3 kB / 0.7355 GB, free: 12.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/0.8439, allocations: 333.5 kB / 0.7358 GB, free: 11.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.8446, allocations: 289.2 kB / 0.736 GB, free: 11.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.8446, allocations: 0 / 0.736 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00193/0.8465, allocations: 0.7841 MB / 0.7368 GB, free: 11.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8466, allocations: 4.781 kB / 0.7368 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8466, allocations: 5.109 kB / 0.7368 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.8471, allocations: 76.7 kB / 0.7369 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.8479, allocations: 158.4 kB / 0.737 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.8497, allocations: 1.429 MB / 0.7384 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006609/0.8504, allocations: 83.48 kB / 0.7385 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.8505, allocations: 32.72 kB / 0.7386 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.0004082/0.8509, allocations: 241.7 kB / 0.7388 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.851, allocations: 67.03 kB / 0.7388 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002581/0.8536, allocations: 1.043 MB / 0.7399 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.8536, allocations: 8.25 kB / 0.7399 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.8536, allocations: 2.734 kB / 0.7399 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.8536, allocations: 5.359 kB / 0.7399 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.8546, allocations: 0.8068 MB / 0.7407 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8547, allocations: 0 / 0.7407 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.8554, allocations: 161 kB / 0.7408 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/0.8559, allocations: 80.12 kB / 0.7409 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/0.8559, allocations: 20.67 kB / 0.7409 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.8574, allocations: 1.462 MB / 0.7423 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.116e-05/0.8575, allocations: 4.062 kB / 0.7424 GB, free: 7.852 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.8594, allocations: 0.877 MB / 0.7432 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004122/0.8598, allocations: 264.2 kB / 0.7435 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.451e-05/0.8599, allocations: 12.22 kB / 0.7435 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.8605, allocations: 72.78 kB / 0.7435 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.8607, allocations: 61.5 kB / 0.7436 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.8607, allocations: 34.22 kB / 0.7436 GB, free: 7.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004302/0.8612, allocations: 358.6 kB / 0.744 GB, free: 7.219 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8612, allocations: 5.656 kB / 0.744 GB, free: 7.215 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00087/0.862, allocations: 278.3 kB / 0.7442 GB, free: 7.16 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 (81): * Single equations (assignments): 78 * 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.001294/0.8633, allocations: 0.6204 MB / 0.7449 GB, free: 6.938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.8652, allocations: 0.7802 MB / 0.7456 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.8652, allocations: 2.406 kB / 0.7456 GB, free: 6.695 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009382/0.8662, allocations: 0.4999 MB / 0.7461 GB, free: 6.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007958/0.867, allocations: 176.2 kB / 0.7463 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.8711, allocations: 1.958 MB / 0.7482 GB, free: 5.371 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.8717, allocations: 0.9861 MB / 0.7491 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009689/0.8727, allocations: 246.2 kB / 0.7494 GB, free: 4.418 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.873, allocations: 97.09 kB / 0.7495 GB, free: 4.391 MB / 0.545 GB Notification: Performance of SimCode: time 8.21e-07/0.873, allocations: 0 / 0.7495 GB, free: 4.391 MB / 0.545 GB Notification: Performance of Templates: time 0.02049/0.8935, allocations: 11.61 MB / 0.7608 GB, free: 14.62 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) Environment - environmentSimulation: