Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001213/0.001213, allocations: 183.5 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.88/1.88, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009589/0.000959, allocations: 103.4 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000483/0.0004831, allocations: 14.09 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2531, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003986/0.2572, allocations: 3.53 MB / 0.9829 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7739/1.031, allocations: 127.2 MB / 1.107 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009213/1.032, allocations: 14.41 kB / 1.107 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004241/1.033, allocations: 73.75 kB / 1.107 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00174/1.034, allocations: 430.2 kB / 1.108 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/1.037, allocations: 0.606 MB / 1.108 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001648/1.038, allocations: 0.741 MB / 1.109 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/1.039, allocations: 0.5121 MB / 1.11 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007239/1.04, allocations: 311.2 kB / 1.11 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/1.04, allocations: 299.7 kB / 1.11 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.652e-05/1.04, allocations: 22 kB / 1.11 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/1.041, allocations: 267.6 kB / 1.11 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002349/1.042, allocations: 163.8 kB / 1.111 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003377/1.042, allocations: 185.3 kB / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001846/1.044, allocations: 1.09 MB / 1.112 GB, free: 17.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/1.044, allocations: 0 / 1.112 GB, free: 17.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/1.044, allocations: 0 / 1.112 GB, free: 17.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.659e-05/1.044, allocations: 0 / 1.112 GB, free: 17.72 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.002676/1.047, allocations: 1.162 MB / 1.113 GB, free: 16.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/1.047, allocations: 8.156 kB / 1.113 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002387/1.047, allocations: 139.3 kB / 1.113 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/1.048, allocations: 216.9 kB / 1.113 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.049, allocations: 0.7039 MB / 1.114 GB, free: 16.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/1.049, allocations: 63.12 kB / 1.114 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.05, allocations: 84.64 kB / 1.114 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/1.051, allocations: 0.923 MB / 1.115 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.051, allocations: 0 / 1.115 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/1.052, allocations: 39.55 kB / 1.115 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/1.052, allocations: 21.66 kB / 1.115 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/1.054, allocations: 1.117 MB / 1.116 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0049/1.059, allocations: 2.549 MB / 1.119 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/1.06, allocations: 0.7499 MB / 1.119 GB, free: 15.51 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007182/1.061, allocations: 472.5 kB / 1.12 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009447/1.062, allocations: 450.8 kB / 1.12 GB, free: 14.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.537e-06/1.062, allocations: 0 / 1.12 GB, free: 14.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003168/1.065, allocations: 1.11 MB / 1.121 GB, free: 14.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.065, allocations: 196.9 kB / 1.121 GB, free: 14.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/1.066, allocations: 0.5814 MB / 1.122 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.7e-05/1.066, allocations: 40.95 kB / 1.122 GB, free: 14.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/1.067, allocations: 400.8 kB / 1.122 GB, free: 14.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/1.067, allocations: 240.1 kB / 1.123 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/1.067, allocations: 12.16 kB / 1.123 GB, free: 14.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.067, allocations: 379.1 kB / 1.123 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004884/1.068, allocations: 230.9 kB / 1.123 GB, free: 13.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/1.068, allocations: 328.8 kB / 1.124 GB, free: 13.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/1.069, allocations: 270.5 kB / 1.124 GB, free: 13.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/1.069, allocations: 4 kB / 1.124 GB, free: 13.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001846/1.071, allocations: 0.743 MB / 1.125 GB, free: 13.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.071, allocations: 6.5 kB / 1.125 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.071, allocations: 2.812 kB / 1.125 GB, free: 13.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/1.071, allocations: 82.02 kB / 1.125 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/1.072, allocations: 144.5 kB / 1.125 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/1.074, allocations: 1.528 MB / 1.126 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008626/1.075, allocations: 87.89 kB / 1.126 GB, free: 12.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/1.075, allocations: 26.45 kB / 1.126 GB, free: 12.11 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.0006492/1.076, allocations: 264.8 kB / 1.127 GB, free: 11.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.076, allocations: 73.88 kB / 1.127 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/1.078, allocations: 1.029 MB / 1.128 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.078, allocations: 6.719 kB / 1.128 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/1.078, allocations: 1.859 kB / 1.128 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.078, allocations: 7.938 kB / 1.128 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/1.08, allocations: 0.8714 MB / 1.129 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/1.08, allocations: 4 kB / 1.129 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/1.08, allocations: 148.6 kB / 1.129 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005221/1.081, allocations: 83.27 kB / 1.129 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/1.081, allocations: 22.33 kB / 1.129 GB, free: 11.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/1.083, allocations: 1.556 MB / 1.13 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.083, allocations: 6.859 kB / 1.13 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/1.085, allocations: 0.8544 MB / 1.131 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/1.086, allocations: 273.2 kB / 1.131 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.086, allocations: 18.12 kB / 1.132 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/1.087, allocations: 75.38 kB / 1.132 GB, free: 9.293 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/1.087, allocations: 55.7 kB / 1.132 GB, free: 9.273 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/1.087, allocations: 38.03 kB / 1.132 GB, free: 9.262 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000667/1.087, allocations: 437.5 kB / 1.132 GB, free: 9.105 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/1.087, allocations: 0 / 1.132 GB, free: 9.105 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001077/1.089, allocations: 288.3 kB / 1.132 GB, free: 9.043 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.003806/1.092, allocations: 1.877 MB / 1.134 GB, free: 8.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001961/1.094, allocations: 0.7498 MB / 1.135 GB, free: 7.855 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.094, allocations: 1.281 kB / 1.135 GB, free: 7.855 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000988/1.095, allocations: 497.6 kB / 1.135 GB, free: 7.676 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.097, allocations: 236.2 kB / 1.136 GB, free: 7.602 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.109, allocations: 5.193 MB / 1.141 GB, free: 5.066 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009615/1.11, allocations: 1.03 MB / 1.142 GB, free: 4.223 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001248/1.111, allocations: 256.3 kB / 1.142 GB, free: 4.098 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000559/1.112, allocations: 377.7 kB / 1.142 GB, free: 4.047 MB / 0.698 GB Notification: Performance of SimCode: time 2.064e-06/1.112, allocations: 0 / 1.142 GB, free: 4.047 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05494/1.167, allocations: 20.05 MB / 1.162 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/1.167, allocations: 302.8 kB / 1.162 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.897/4.064, allocations: 2.938 kB / 1.162 GB, free: 10.01 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)