Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 192.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.189/1.189, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.081/2.081, allocations: 390.3 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4825, allocations: 140.4 MB / 0.9492 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004212/0.4867, allocations: 4.436 MB / 0.9536 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1407/0.6275, allocations: 148.4 MB / 1.098 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008653/0.6284, allocations: 19.88 kB / 1.099 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.6289, allocations: 142.9 kB / 1.099 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.6305, allocations: 449.5 kB / 1.099 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.6322, allocations: 0.7645 MB / 1.1 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.6333, allocations: 1.332 MB / 1.101 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000819/0.6342, allocations: 0.6985 MB / 1.102 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000491/0.6347, allocations: 0.4943 MB / 1.102 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004882/0.6351, allocations: 0.5405 MB / 1.103 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.6353, allocations: 124 kB / 1.103 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.6361, allocations: 483.6 kB / 1.103 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.6363, allocations: 319 kB / 1.104 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.6367, allocations: 0.5868 MB / 1.104 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.6382, allocations: 1.682 MB / 1.106 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6382, allocations: 0 / 1.106 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.21e-07/0.6382, allocations: 0 / 1.106 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.6382, allocations: 4 kB / 1.106 GB, free: 1.004 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002228/0.6405, allocations: 1.488 MB / 1.107 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.6405, allocations: 8.031 kB / 1.107 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.6407, allocations: 144.2 kB / 1.108 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009812/0.6416, allocations: 219.3 kB / 1.108 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.6426, allocations: 0.7614 MB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.6427, allocations: 73.98 kB / 1.109 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.6428, allocations: 92 kB / 1.109 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.6443, allocations: 1.016 MB / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.6443, allocations: 0 / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/0.6444, allocations: 44 kB / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.6445, allocations: 24 kB / 1.11 GB, free: 13 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.6462, allocations: 1.175 MB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003571/0.6497, allocations: 2.702 MB / 1.113 GB, free: 9.051 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.6513, allocations: 0.9068 MB / 1.114 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.6518, allocations: 318.6 kB / 1.115 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005837/0.6524, allocations: 466.2 kB / 1.115 GB, free: 7.258 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008807/0.6533, allocations: 0.4953 MB / 1.116 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 1.874e-06/0.6533, allocations: 0 / 1.116 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.002901/0.6562, allocations: 1.233 MB / 1.117 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.6563, allocations: 192.6 kB / 1.117 GB, free: 5.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.657, allocations: 0.6372 MB / 1.118 GB, free: 4.605 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.657, allocations: 45.69 kB / 1.118 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.6573, allocations: 420.2 kB / 1.118 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.6575, allocations: 272.1 kB / 1.118 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.6577, allocations: 146.5 kB / 1.118 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6579, allocations: 394.8 kB / 1.119 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.6584, allocations: 253.8 kB / 1.119 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/0.659, allocations: 370.5 kB / 1.119 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.66, allocations: 0.6033 MB / 1.12 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6601, allocations: 64 / 1.12 GB, free: 2.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001745/0.6618, allocations: 0.8252 MB / 1.121 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6618, allocations: 7.938 kB / 1.121 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.6618, allocations: 4 kB / 1.121 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.6624, allocations: 84.86 kB / 1.121 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000609/0.663, allocations: 155.8 kB / 1.121 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/0.6649, allocations: 1.63 MB / 1.123 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.6655, allocations: 93.53 kB / 1.123 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.6656, allocations: 27.98 kB / 1.123 GB, free: 15.09 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.6659, allocations: 273.5 kB / 1.123 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.6661, allocations: 86.97 kB / 1.123 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.6683, allocations: 1.097 MB / 1.124 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6683, allocations: 12 kB / 1.124 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6683, allocations: 0 / 1.124 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.6684, allocations: 7.922 kB / 1.124 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.6713, allocations: 2.013 MB / 1.126 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6713, allocations: 0 / 1.126 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005762/0.6719, allocations: 147.8 kB / 1.126 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004211/0.6723, allocations: 72.78 kB / 1.126 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.6724, allocations: 31.97 kB / 1.126 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.6741, allocations: 1.662 MB / 1.128 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6741, allocations: 0 / 1.128 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.6759, allocations: 1.015 MB / 1.129 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.6762, allocations: 279.7 kB / 1.129 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.6764, allocations: 20 kB / 1.129 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/0.677, allocations: 69.95 kB / 1.129 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.6771, allocations: 72.84 kB / 1.129 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/0.6772, allocations: 35.97 kB / 1.129 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004801/0.6777, allocations: 467 kB / 1.13 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6777, allocations: 0 / 1.13 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007071/0.6784, allocations: 331.2 kB / 1.13 GB, free: 7.168 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003232/0.6816, allocations: 2.095 MB / 1.132 GB, free: 5.223 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.6837, allocations: 1.023 MB / 1.133 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6837, allocations: 0 / 1.133 GB, free: 4.188 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00088/0.6846, allocations: 0.5392 MB / 1.134 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.6857, allocations: 293.9 kB / 1.134 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.6969, allocations: 7.163 MB / 1.141 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.6975, allocations: 1.047 MB / 1.142 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000778/0.6983, allocations: 274.6 kB / 1.142 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005056/0.6988, allocations: 407.3 kB / 1.143 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.6988, allocations: 0 / 1.143 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3135/1.012, allocations: 21.49 MB / 1.164 GB, free: 5.219 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/1.013, allocations: 319.1 kB / 1.164 GB, free: 4.832 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.498, allocations: 0 / 1.164 GB, free: 4.832 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)