Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_10_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.001206/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001188/0.001188, allocations: 193.7 kB / 16.14 MB, free: 6.645 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.215/1.215, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.346/2.346, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.4941, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006047/0.5002, allocations: 5.191 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.635, allocations: 148.4 MB / 1.167 GB, free: 8.594 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008686/0.6359, allocations: 15.94 kB / 1.167 GB, free: 8.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.6366, allocations: 158.8 kB / 1.167 GB, free: 8.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.6383, allocations: 493.4 kB / 1.167 GB, free: 7.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.64, allocations: 0.7455 MB / 1.168 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.6414, allocations: 1.354 MB / 1.169 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008714/0.6423, allocations: 0.6354 MB / 1.17 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000632/0.6429, allocations: 466.1 kB / 1.17 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005772/0.6435, allocations: 0.5094 MB / 1.171 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.6437, allocations: 64 kB / 1.171 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000785/0.6445, allocations: 427.6 kB / 1.171 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.6447, allocations: 262.9 kB / 1.172 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005405/0.6453, allocations: 0.54 MB / 1.172 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.6469, allocations: 1.671 MB / 1.174 GB, free: 1.254 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.647, allocations: 0 / 1.174 GB, free: 1.254 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.82e-07/0.647, allocations: 0 / 1.174 GB, free: 1.254 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.816e-05/0.647, allocations: 4 kB / 1.174 GB, free: 1.25 MB / 0.92 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.002592/0.6496, allocations: 1.504 MB / 1.175 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6496, allocations: 8.031 kB / 1.175 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.6498, allocations: 148.2 kB / 1.175 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6509, allocations: 219.2 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009614/0.6519, allocations: 0.7653 MB / 1.176 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.6519, allocations: 66 kB / 1.176 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.652, allocations: 100 kB / 1.177 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.6536, allocations: 1.02 MB / 1.178 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.6536, allocations: 0 / 1.178 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.6537, allocations: 36 kB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.6538, allocations: 24 kB / 1.178 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.6556, allocations: 1.179 MB / 1.179 GB, free: 12.05 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.6596, allocations: 2.973 MB / 1.182 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.6612, allocations: 0.9116 MB / 1.183 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.6617, allocations: 326.6 kB / 1.183 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/0.6623, allocations: 466.1 kB / 1.183 GB, free: 7.145 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009103/0.6632, allocations: 0.5069 MB / 1.184 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.024e-06/0.6633, allocations: 0 / 1.184 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003042/0.6663, allocations: 1.237 MB / 1.185 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.6664, allocations: 192.6 kB / 1.185 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/0.6671, allocations: 0.6372 MB / 1.186 GB, free: 4.48 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.056e-05/0.6672, allocations: 41.7 kB / 1.186 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.6675, allocations: 432.2 kB / 1.186 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.6677, allocations: 268.2 kB / 1.187 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.6679, allocations: 146.5 kB / 1.187 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.668, allocations: 390.8 kB / 1.187 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005145/0.6686, allocations: 257.8 kB / 1.187 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006/0.6692, allocations: 370.5 kB / 1.188 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.6703, allocations: 0.6072 MB / 1.188 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6703, allocations: 0 / 1.188 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001875/0.6722, allocations: 0.8253 MB / 1.189 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.6722, allocations: 4 kB / 1.189 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6722, allocations: 4 kB / 1.189 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005772/0.6728, allocations: 88.84 kB / 1.189 GB, free: 1.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006213/0.6734, allocations: 151.8 kB / 1.189 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.6753, allocations: 1.524 MB / 1.191 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.676, allocations: 95.3 kB / 1.191 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.676, allocations: 35.97 kB / 1.191 GB, free: 15.06 MB / 0.9512 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.0003562/0.6764, allocations: 273.5 kB / 1.191 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.6765, allocations: 83.16 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.6789, allocations: 1.109 MB / 1.192 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.6789, allocations: 15.88 kB / 1.192 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.6789, allocations: 0 / 1.192 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.679, allocations: 3.984 kB / 1.192 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/0.682, allocations: 2.005 MB / 1.194 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.682, allocations: 8 kB / 1.194 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.6826, allocations: 151.8 kB / 1.194 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.6831, allocations: 80.78 kB / 1.195 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.704e-05/0.6832, allocations: 27.97 kB / 1.195 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.6848, allocations: 1.536 MB / 1.196 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6848, allocations: 3.984 kB / 1.196 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.6868, allocations: 1.023 MB / 1.197 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.6871, allocations: 275.7 kB / 1.197 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6872, allocations: 28.06 kB / 1.197 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006763/0.6879, allocations: 67.92 kB / 1.197 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.6881, allocations: 72.89 kB / 1.197 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.6881, allocations: 35.97 kB / 1.198 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004932/0.6886, allocations: 467 kB / 1.198 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6886, allocations: 0 / 1.198 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007895/0.6894, allocations: 351.1 kB / 1.198 GB, free: 7.215 MB / 0.9512 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.003338/0.6928, allocations: 2.088 MB / 1.2 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.6943, allocations: 0.8236 MB / 1.201 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6943, allocations: 0 / 1.201 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009226/0.6953, allocations: 0.5236 MB / 1.202 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6964, allocations: 291.5 kB / 1.202 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.7073, allocations: 7.066 MB / 1.209 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.7078, allocations: 1.047 MB / 1.21 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008531/0.7087, allocations: 270.9 kB / 1.21 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/0.7092, allocations: 411.2 kB / 1.211 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.7092, allocations: 0 / 1.211 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5813/1.291, allocations: 21.42 MB / 1.231 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/1.291, allocations: 323.4 kB / 1.232 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/3.48, allocations: 0 / 1.232 GB, free: 5.266 MB / 0.9825 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)