Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.969/2.969, allocations: 287.3 MB / 302.3 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 186.7 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.555/2.555, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.001791, allocations: 103.7 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005026, allocations: 12.25 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.226, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005334/0.2314, allocations: 3.534 MB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9458/1.177, allocations: 127.3 MB / 1.106 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/1.179, allocations: 12.53 kB / 1.106 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007058/1.179, allocations: 76.17 kB / 1.106 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003251/1.183, allocations: 424.4 kB / 1.106 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004574/1.187, allocations: 0.6009 MB / 1.107 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003244/1.191, allocations: 0.7411 MB / 1.108 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/1.193, allocations: 0.5162 MB / 1.108 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/1.194, allocations: 309.9 kB / 1.109 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/1.196, allocations: 301.6 kB / 1.109 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004354/1.196, allocations: 21.16 kB / 1.109 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/1.198, allocations: 264.6 kB / 1.109 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000696/1.199, allocations: 164.5 kB / 1.109 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007061/1.2, allocations: 186.9 kB / 1.109 GB, free: 17.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004126/1.204, allocations: 1.088 MB / 1.11 GB, free: 17.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.204, allocations: 0 / 1.11 GB, free: 17.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.897e-06/1.204, allocations: 0 / 1.11 GB, free: 17.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.518e-05/1.204, allocations: 4 kB / 1.11 GB, free: 17.08 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.006147/1.21, allocations: 1.152 MB / 1.112 GB, free: 16.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/1.21, allocations: 13.67 kB / 1.112 GB, free: 16.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/1.214, allocations: 219.9 kB / 1.112 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/1.217, allocations: 0.6949 MB / 1.113 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/1.217, allocations: 66.53 kB / 1.113 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004464/1.218, allocations: 88.11 kB / 1.113 GB, free: 15.98 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005343/1.223, allocations: 0.9227 MB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/1.223, allocations: 1.312 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/1.223, allocations: 40.92 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.348e-05/1.224, allocations: 24.64 kB / 1.114 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006055/1.23, allocations: 1.116 MB / 1.115 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/1.241, allocations: 2.547 MB / 1.117 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/1.245, allocations: 0.7522 MB / 1.118 GB, free: 14.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/1.246, allocations: 470.9 kB / 1.118 GB, free: 14.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002093/1.248, allocations: 446.3 kB / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 6.353e-06/1.248, allocations: 0 / 1.119 GB, free: 14.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.007519/1.256, allocations: 1.11 MB / 1.12 GB, free: 14.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/1.256, allocations: 188 kB / 1.12 GB, free: 13.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/1.258, allocations: 0.582 MB / 1.121 GB, free: 13.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000288/1.258, allocations: 43.83 kB / 1.121 GB, free: 13.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000621/1.259, allocations: 403.7 kB / 1.121 GB, free: 13.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005203/1.26, allocations: 239.1 kB / 1.121 GB, free: 13.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/1.26, allocations: 11.69 kB / 1.121 GB, free: 13.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003255/1.26, allocations: 378 kB / 1.122 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/1.261, allocations: 231 kB / 1.122 GB, free: 13.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/1.263, allocations: 329.1 kB / 1.122 GB, free: 13.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.265, allocations: 270.6 kB / 1.122 GB, free: 13.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/1.265, allocations: 3.438 kB / 1.122 GB, free: 13.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.004537/1.269, allocations: 0.7499 MB / 1.123 GB, free: 12.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/1.27, allocations: 6.25 kB / 1.123 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.27, allocations: 0 / 1.123 GB, free: 12.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/1.271, allocations: 83.62 kB / 1.123 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/1.272, allocations: 144.4 kB / 1.123 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004111/1.276, allocations: 1.538 MB / 1.125 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/1.278, allocations: 81.2 kB / 1.125 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/1.278, allocations: 27.48 kB / 1.125 GB, free: 11.55 MB / 0.698 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.001115/1.279, allocations: 265.7 kB / 1.125 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/1.28, allocations: 76.56 kB / 1.125 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005514/1.285, allocations: 1.022 MB / 1.126 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/1.285, allocations: 7.875 kB / 1.126 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/1.285, allocations: 2.156 kB / 1.126 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.893e-05/1.285, allocations: 7.688 kB / 1.126 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/1.288, allocations: 0.878 MB / 1.127 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.289, allocations: 0 / 1.127 GB, free: 11.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.29, allocations: 147.1 kB / 1.127 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/1.291, allocations: 83.67 kB / 1.127 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/1.291, allocations: 25.19 kB / 1.127 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003753/1.295, allocations: 1.556 MB / 1.129 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.295, allocations: 0 / 1.129 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004233/1.299, allocations: 0.8624 MB / 1.13 GB, free: 9.523 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.3, allocations: 267.9 kB / 1.13 GB, free: 9.379 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/1.301, allocations: 20.11 kB / 1.13 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.302, allocations: 75.83 kB / 1.13 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002902/1.302, allocations: 58.47 kB / 1.13 GB, free: 9.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/1.303, allocations: 30.41 kB / 1.13 GB, free: 9.367 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001377/1.304, allocations: 426.5 kB / 1.131 GB, free: 9.277 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.92e-07/1.304, allocations: 1.859 kB / 1.131 GB, free: 9.277 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001977/1.306, allocations: 291.8 kB / 1.131 GB, free: 9.219 MB / 0.698 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002938/1.309, allocations: 0.5823 MB / 1.132 GB, free: 8.988 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003612/1.313, allocations: 0.753 MB / 1.132 GB, free: 8.758 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.313, allocations: 2.422 kB / 1.132 GB, free: 8.758 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/1.315, allocations: 491.9 kB / 1.133 GB, free: 8.578 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/1.317, allocations: 237 kB / 1.133 GB, free: 8.504 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009427/1.327, allocations: 2.121 MB / 1.135 GB, free: 7.316 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/1.329, allocations: 1.037 MB / 1.136 GB, free: 6.469 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002738/1.331, allocations: 251.4 kB / 1.136 GB, free: 6.348 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006095/1.332, allocations: 101.4 kB / 1.136 GB, free: 6.324 MB / 0.698 GB Notification: Performance of SimCode: time 1.774e-06/1.332, allocations: 0 / 1.136 GB, free: 6.324 MB / 0.698 GB Notification: Performance of Templates: time 0.05513/1.387, allocations: 12.96 MB / 1.149 GB, free: 15.82 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)