Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.422/1.422, allocations: 249.5 MB / 257 MB, free: 6.91 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.001019/0.001019, allocations: 176 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.523/1.523, 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.0008732/0.0008732, allocations: 92.7 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.235e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2352, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.774/6.009, allocations: 2.191 GB / 3.076 GB, free: 215.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/6.009, allocations: 87.95 kB / 3.076 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1266/6.136, allocations: 62.62 MB / 3.137 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.873e-06/6.136, allocations: 0 / 3.137 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.028e-05/6.136, allocations: 24 kB / 3.137 GB, free: 152.6 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001681/6.138, allocations: 1.079 MB / 3.138 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/6.138, allocations: 12.03 kB / 3.138 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/6.139, allocations: 270.4 kB / 3.139 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008789/6.14, allocations: 0.6269 MB / 3.139 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/6.14, allocations: 28 kB / 3.139 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/6.14, allocations: 51.94 kB / 3.139 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001249/6.141, allocations: 1.027 MB / 3.14 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/6.142, allocations: 0.7857 MB / 3.141 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/6.142, allocations: 3.953 kB / 3.141 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.217e-05/6.143, allocations: 4 kB / 3.141 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/6.143, allocations: 20 kB / 3.141 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/6.146, allocations: 2.426 MB / 3.143 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/6.147, allocations: 0.7282 MB / 3.144 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002995/6.148, allocations: 256.3 kB / 3.144 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.332e-05/6.148, allocations: 28.81 kB / 3.144 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005412/6.148, allocations: 415.7 kB / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=74): time 2.825e-06/6.148, allocations: 0 / 3.145 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74): time 0.001422/6.15, allocations: 0.6758 MB / 3.146 GB, free: 144 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/6.15, allocations: 240.1 kB / 3.146 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005301/6.15, allocations: 0.4905 MB / 3.146 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/6.15, allocations: 25.7 kB / 3.146 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/6.151, allocations: 400.1 kB / 3.147 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/6.151, allocations: 236.4 kB / 3.147 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/6.151, allocations: 0 / 3.147 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/6.151, allocations: 374.8 kB / 3.147 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/6.151, allocations: 205.5 kB / 3.147 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/6.152, allocations: 295.5 kB / 3.148 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/6.152, allocations: 252.4 kB / 3.148 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/6.152, allocations: 4 kB / 3.148 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001235/6.153, allocations: 0.6642 MB / 3.149 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/6.153, allocations: 7.984 kB / 3.149 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/6.153, allocations: 4.062 kB / 3.149 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/6.154, allocations: 76.78 kB / 3.149 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/6.154, allocations: 159.8 kB / 3.149 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/6.156, allocations: 1.453 MB / 3.15 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006296/6.156, allocations: 71.58 kB / 3.15 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.764e-05/6.157, allocations: 35.97 kB / 3.15 GB, free: 138.8 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 (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.000162/6.157, allocations: 122.6 kB / 3.15 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001239/6.158, allocations: 0.672 MB / 3.151 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/6.158, allocations: 71.16 kB / 3.151 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/6.16, allocations: 0.9345 MB / 3.152 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/6.16, allocations: 11.98 kB / 3.152 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/6.16, allocations: 0 / 3.152 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/6.16, allocations: 7.969 kB / 3.152 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008386/6.161, allocations: 0.7633 MB / 3.153 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/6.161, allocations: 0 / 3.153 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/6.161, allocations: 163.8 kB / 3.153 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/6.162, allocations: 84.73 kB / 3.153 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/6.162, allocations: 15.98 kB / 3.153 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/6.163, allocations: 1.473 MB / 3.155 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/6.163, allocations: 0 / 3.155 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/6.164, allocations: 0.7778 MB / 3.155 GB, free: 133.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/6.165, allocations: 275.8 kB / 3.156 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/6.165, allocations: 8 kB / 3.156 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005731/6.165, allocations: 64 kB / 3.156 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/6.166, allocations: 64.69 kB / 3.156 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/6.166, allocations: 31.98 kB / 3.156 GB, free: 133 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004436/6.166, allocations: 402.8 kB / 3.156 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/6.166, allocations: 3.938 kB / 3.156 GB, free: 132.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001082/6.167, allocations: 319 kB / 3.156 GB, free: 132.3 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 (86): * Single equations (assignments): 83 * 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.003025/6.17, allocations: 2.256 MB / 3.159 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001172/6.171, allocations: 0.6669 MB / 3.159 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/6.171, allocations: 0 / 3.159 GB, free: 129.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005871/6.172, allocations: 456.6 kB / 3.16 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/6.173, allocations: 224.8 kB / 3.16 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/6.177, allocations: 1.51 MB / 3.161 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/6.177, allocations: 1.035 MB / 3.162 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008353/6.178, allocations: 257.8 kB / 3.163 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/6.178, allocations: 375.3 kB / 3.163 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/6.178, allocations: 3.938 kB / 3.163 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/6.225, allocations: 23.23 MB / 3.186 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/6.225, allocations: 224.1 kB / 3.186 GB, free: 102 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/8.869, allocations: 0 / 3.186 GB, free: 102 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)