Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 176.8 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.3 MB / 0.5671 GB, free: 15.89 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007555/0.0007556, allocations: 78.5 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.62e-05/1.623e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2071, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.859/6.066, allocations: 2.191 GB / 3.076 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/6.067, allocations: 90.14 kB / 3.076 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1323/6.199, allocations: 65.42 MB / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.763e-06/6.199, allocations: 0 / 3.14 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.788e-05/6.199, allocations: 27.94 kB / 3.14 GB, free: 115.9 MB / 0.8698 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.001734/6.201, allocations: 1.087 MB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/6.201, allocations: 12.03 kB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/6.202, allocations: 210.5 kB / 3.141 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009081/6.203, allocations: 0.6269 MB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/6.203, allocations: 28 kB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/6.203, allocations: 52 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001279/6.204, allocations: 1.011 MB / 3.143 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/6.206, allocations: 0.7778 MB / 3.144 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/6.206, allocations: 0 / 3.144 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/6.206, allocations: 3.953 kB / 3.144 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/6.206, allocations: 24 kB / 3.144 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/6.209, allocations: 2.387 MB / 3.146 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/6.21, allocations: 0.6538 MB / 3.147 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003009/6.21, allocations: 243.2 kB / 3.147 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/6.211, allocations: 470.4 kB / 3.148 GB, free: 108 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/6.211, allocations: 393 kB / 3.148 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 1.893e-06/6.211, allocations: 0 / 3.148 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.003677/6.215, allocations: 1.132 MB / 3.149 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/6.215, allocations: 240.1 kB / 3.149 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/6.215, allocations: 0.4905 MB / 3.15 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/6.216, allocations: 33.7 kB / 3.15 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/6.216, allocations: 400 kB / 3.15 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/6.216, allocations: 232.5 kB / 3.15 GB, free: 105 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/6.216, allocations: 0 / 3.15 GB, free: 105 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/6.216, allocations: 374.8 kB / 3.151 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/6.216, allocations: 189.5 kB / 3.151 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/6.217, allocations: 299.4 kB / 3.151 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/6.219, allocations: 0.6993 MB / 3.152 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/6.219, allocations: 3.938 kB / 3.152 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003486/6.223, allocations: 1.121 MB / 3.153 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/6.223, allocations: 4 kB / 3.153 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/6.223, allocations: 7.984 kB / 3.153 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005612/6.223, allocations: 84.78 kB / 3.153 GB, free: 102.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/6.224, allocations: 135.8 kB / 3.153 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/6.226, allocations: 1.457 MB / 3.155 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/6.226, allocations: 67.52 kB / 3.155 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/6.226, allocations: 27.98 kB / 3.155 GB, free: 100.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/6.227, allocations: 114.9 kB / 3.155 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003602/6.23, allocations: 1.132 MB / 3.156 GB, free: 99.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/6.23, allocations: 71.16 kB / 3.156 GB, free: 99.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/6.234, allocations: 1.386 MB / 3.157 GB, free: 97.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/6.234, allocations: 11.95 kB / 3.157 GB, free: 97.68 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/6.234, allocations: 0 / 3.157 GB, free: 97.68 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/6.234, allocations: 7.984 kB / 3.157 GB, free: 97.67 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/6.235, allocations: 0.7558 MB / 3.158 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/6.235, allocations: 0 / 3.158 GB, free: 96.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005512/6.236, allocations: 143.8 kB / 3.158 GB, free: 96.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/6.236, allocations: 80.78 kB / 3.158 GB, free: 96.66 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/6.236, allocations: 15.98 kB / 3.158 GB, free: 96.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/6.238, allocations: 1.489 MB / 3.16 GB, free: 95.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/6.238, allocations: 0 / 3.16 GB, free: 95.04 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003634/6.241, allocations: 1.227 MB / 3.161 GB, free: 93.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/6.242, allocations: 279.8 kB / 3.161 GB, free: 93.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/6.242, allocations: 4 kB / 3.161 GB, free: 93.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/6.242, allocations: 56 kB / 3.161 GB, free: 93.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/6.243, allocations: 56.7 kB / 3.161 GB, free: 93.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/6.243, allocations: 31.98 kB / 3.161 GB, free: 93.35 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004849/6.243, allocations: 406.9 kB / 3.162 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/6.243, allocations: 3.938 kB / 3.162 GB, free: 92.95 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001076/6.244, allocations: 331 kB / 3.162 GB, free: 92.62 MB / 0.8698 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) * 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.005457/6.25, allocations: 2.739 MB / 3.165 GB, free: 89.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00112/6.251, allocations: 0.6511 MB / 3.165 GB, free: 89.24 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/6.251, allocations: 0 / 3.165 GB, free: 89.24 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006009/6.251, allocations: 448.7 kB / 3.166 GB, free: 88.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/6.253, allocations: 205.6 kB / 3.166 GB, free: 88.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/6.257, allocations: 1.515 MB / 3.167 GB, free: 87.04 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/6.257, allocations: 1.039 MB / 3.169 GB, free: 85.97 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008069/6.258, allocations: 265.7 kB / 3.169 GB, free: 85.71 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000433/6.258, allocations: 371.3 kB / 3.169 GB, free: 85.35 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/6.259, allocations: 4 kB / 3.169 GB, free: 85.35 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04885/6.307, allocations: 23.25 MB / 3.192 GB, free: 62.18 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/6.308, allocations: 215.2 kB / 3.192 GB, free: 61.89 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/9.075, allocations: 0 / 3.192 GB, free: 61.89 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)