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.0008446/0.0008446, allocations: 97.88 kB / 15.36 MB, free: 0.7344 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.00475/0.00475, allocations: 171 kB / 16.27 MB, free: 6.648 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.171/1.171, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.229/2.229, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4794/0.4797, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004673/0.4844, allocations: 4.753 MB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1291/0.6135, allocations: 146.8 MB / 1.171 GB, free: 7.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005734/0.6141, allocations: 15.94 kB / 1.171 GB, free: 7.691 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.6146, allocations: 162.8 kB / 1.171 GB, free: 7.531 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.6159, allocations: 489.2 kB / 1.172 GB, free: 7.055 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.6174, allocations: 0.7437 MB / 1.172 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.6186, allocations: 1.362 MB / 1.174 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/0.6194, allocations: 0.6198 MB / 1.174 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004798/0.6199, allocations: 366.2 kB / 1.175 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.6204, allocations: 413.7 kB / 1.175 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/0.6205, allocations: 24 kB / 1.175 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.6211, allocations: 399.6 kB / 1.176 GB, free: 3.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.6213, allocations: 195.1 kB / 1.176 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.6217, allocations: 0.4948 MB / 1.176 GB, free: 2.434 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.623, allocations: 1.608 MB / 1.178 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.623, allocations: 0 / 1.178 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.623, allocations: 0 / 1.178 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.623, allocations: 0 / 1.178 GB, free: 0.8203 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.001909/0.625, allocations: 1.278 MB / 1.179 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.625, allocations: 8.031 kB / 1.179 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.6252, allocations: 156.2 kB / 1.179 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009504/0.6261, allocations: 231.1 kB / 1.179 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/0.627, allocations: 0.7536 MB / 1.18 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.627, allocations: 74 kB / 1.18 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6271, allocations: 92 kB / 1.18 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.6286, allocations: 1.028 MB / 1.181 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.6286, allocations: 0 / 1.181 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.6287, allocations: 47.98 kB / 1.181 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6288, allocations: 24 kB / 1.181 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001666/0.6304, allocations: 1.179 MB / 1.183 GB, free: 11.82 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.003567/0.634, allocations: 3.001 MB / 1.185 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.6355, allocations: 0.9196 MB / 1.186 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005253/0.636, allocations: 314.7 kB / 1.187 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/0.6366, allocations: 478.1 kB / 1.187 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007921/0.6374, allocations: 0.5147 MB / 1.188 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 1.693e-06/0.6374, allocations: 0 / 1.188 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.002913/0.6403, allocations: 1.248 MB / 1.189 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.552e-05/0.6404, allocations: 192.6 kB / 1.189 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.641, allocations: 0.6372 MB / 1.19 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.6411, allocations: 45.7 kB / 1.19 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.6414, allocations: 428.2 kB / 1.19 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.6416, allocations: 268.1 kB / 1.19 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.6417, allocations: 61.69 kB / 1.19 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.6418, allocations: 386.8 kB / 1.191 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.6423, allocations: 265.9 kB / 1.191 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005816/0.6429, allocations: 374.5 kB / 1.191 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.6439, allocations: 0.6072 MB / 1.192 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.644, allocations: 0 / 1.192 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001727/0.6457, allocations: 0.8447 MB / 1.193 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.6457, allocations: 4 kB / 1.193 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.6457, allocations: 96 / 1.193 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.6463, allocations: 92.77 kB / 1.193 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.6469, allocations: 155.8 kB / 1.193 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1272/0.7741, allocations: 1.524 MB / 1.195 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.7749, allocations: 112.8 kB / 1.195 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.52e-05/0.7749, allocations: 27.98 kB / 1.195 GB, free: 14.82 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.0003833/0.7753, allocations: 282.3 kB / 1.195 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.7755, allocations: 90.94 kB / 1.195 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.7778, allocations: 1.101 MB / 1.196 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.7778, allocations: 11.94 kB / 1.196 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7778, allocations: 3.984 kB / 1.196 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.7778, allocations: 3.984 kB / 1.196 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.7808, allocations: 2.02 MB / 1.198 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.7808, allocations: 4 kB / 1.198 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.7814, allocations: 151.7 kB / 1.198 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004729/0.7819, allocations: 84.77 kB / 1.198 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.207e-05/0.7819, allocations: 23.98 kB / 1.198 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.7835, allocations: 1.552 MB / 1.2 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7835, allocations: 0 / 1.2 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.7854, allocations: 1.027 MB / 1.201 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.7857, allocations: 295.5 kB / 1.201 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7858, allocations: 20 kB / 1.201 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.7865, allocations: 87.92 kB / 1.201 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.7867, allocations: 68.91 kB / 1.201 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.7867, allocations: 39.97 kB / 1.201 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004916/0.7872, allocations: 467 kB / 1.202 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7872, allocations: 0 / 1.202 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007528/0.788, allocations: 347.1 kB / 1.202 GB, free: 6.91 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.003238/0.7912, allocations: 2.108 MB / 1.204 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.7927, allocations: 0.8313 MB / 1.205 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7928, allocations: 0 / 1.205 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.7936, allocations: 0.5355 MB / 1.206 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.7948, allocations: 285.5 kB / 1.206 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.8053, allocations: 7.116 MB / 1.213 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.8059, allocations: 1.047 MB / 1.214 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007863/0.8067, allocations: 282.8 kB / 1.214 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.8072, allocations: 407.3 kB / 1.214 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.8072, allocations: 0 / 1.214 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8408/1.648, allocations: 21.1 MB / 1.235 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/1.648, allocations: 321.2 kB / 1.235 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/3.762, allocations: 0 / 1.235 GB, free: 5.203 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)