Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_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.001177/0.001177, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001104/0.001104, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.394/2.394, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.95 kB / 0.8985 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2438, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005714/0.2495, allocations: 5.167 MB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1358/0.3853, allocations: 148.4 MB / 1.202 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006992/0.3861, allocations: 15.94 kB / 1.202 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004981/0.3866, allocations: 154.8 kB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.3879, allocations: 484.7 kB / 1.203 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3894, allocations: 0.7552 MB / 1.204 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.3905, allocations: 1.354 MB / 1.205 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007541/0.3912, allocations: 0.6431 MB / 1.205 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.3917, allocations: 458.2 kB / 1.206 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004538/0.3922, allocations: 0.5133 MB / 1.206 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.3923, allocations: 64 kB / 1.206 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007826/0.3931, allocations: 423.7 kB / 1.207 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.3934, allocations: 262.9 kB / 1.207 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004912/0.3939, allocations: 0.5517 MB / 1.208 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.3954, allocations: 1.651 MB / 1.209 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3954, allocations: 8 kB / 1.209 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.72e-07/0.3954, allocations: 0 / 1.209 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.3954, allocations: 0 / 1.209 GB, free: 6.754 MB / 0.9669 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.002452/0.3978, allocations: 1.508 MB / 1.211 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3979, allocations: 8.031 kB / 1.211 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.3981, allocations: 152.2 kB / 1.211 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.3991, allocations: 215.2 kB / 1.211 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009336/0.4001, allocations: 0.7653 MB / 1.212 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.4001, allocations: 70 kB / 1.212 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4002, allocations: 92 kB / 1.212 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.4018, allocations: 1.02 MB / 1.213 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4018, allocations: 0 / 1.213 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/0.4019, allocations: 40 kB / 1.213 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.4019, allocations: 24 kB / 1.213 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.4036, allocations: 1.175 MB / 1.214 GB, free: 1.559 MB / 0.9669 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.00367/0.4073, allocations: 2.98 MB / 1.217 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.4088, allocations: 0.9082 MB / 1.218 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.4094, allocations: 322.7 kB / 1.218 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005646/0.41, allocations: 466.2 kB / 1.219 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000872/0.4108, allocations: 0.5069 MB / 1.219 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 1.964e-06/0.4108, allocations: 0 / 1.219 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=82): time 0.002992/0.4138, allocations: 1.233 MB / 1.22 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.4139, allocations: 192.6 kB / 1.221 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.4146, allocations: 0.6411 MB / 1.221 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.4147, allocations: 37.7 kB / 1.221 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.4149, allocations: 432.2 kB / 1.222 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.4151, allocations: 264.2 kB / 1.222 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.4153, allocations: 150.5 kB / 1.222 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4155, allocations: 382.8 kB / 1.223 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.416, allocations: 261.8 kB / 1.223 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005848/0.4166, allocations: 374.5 kB / 1.223 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.4176, allocations: 0.6033 MB / 1.224 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4176, allocations: 0 / 1.224 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001795/0.4194, allocations: 0.8253 MB / 1.225 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4194, allocations: 4 kB / 1.225 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4195, allocations: 4 kB / 1.225 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005613/0.42, allocations: 84.86 kB / 1.225 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.4207, allocations: 163.7 kB / 1.225 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4225, allocations: 1.521 MB / 1.226 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/0.4231, allocations: 104.7 kB / 1.226 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.4232, allocations: 31.92 kB / 1.226 GB, free: 4.562 MB / 0.9825 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.0003413/0.4235, allocations: 273.5 kB / 1.227 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.4237, allocations: 86.97 kB / 1.227 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.426, allocations: 1.097 MB / 1.228 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.426, allocations: 15.92 kB / 1.228 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.426, allocations: 0 / 1.228 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.426, allocations: 3.984 kB / 1.228 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002977/0.429, allocations: 2.012 MB / 1.23 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.429, allocations: 4 kB / 1.23 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005688/0.4296, allocations: 143.8 kB / 1.23 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/0.4301, allocations: 84.77 kB / 1.23 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.4301, allocations: 23.98 kB / 1.23 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.4317, allocations: 1.544 MB / 1.232 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4317, allocations: 7.922 kB / 1.232 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.4336, allocations: 1.016 MB / 1.233 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003147/0.434, allocations: 279.7 kB / 1.233 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.4341, allocations: 16 kB / 1.233 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006847/0.4348, allocations: 71.83 kB / 1.233 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.4349, allocations: 80.83 kB / 1.233 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/0.435, allocations: 31.98 kB / 1.233 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004925/0.4355, allocations: 471 kB / 1.233 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4355, allocations: 0 / 1.233 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007887/0.4363, allocations: 347.1 kB / 1.234 GB, free: 12.73 MB / 0.9981 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.003307/0.4396, allocations: 2.085 MB / 1.236 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.4411, allocations: 0.8158 MB / 1.237 GB, free: 9.973 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4411, allocations: 4 kB / 1.237 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008752/0.442, allocations: 0.5275 MB / 1.237 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4431, allocations: 288.5 kB / 1.237 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.4537, allocations: 7.081 MB / 1.244 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.4543, allocations: 1.043 MB / 1.245 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008061/0.4551, allocations: 270.9 kB / 1.246 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.4556, allocations: 407.3 kB / 1.246 GB, free: 180 kB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.4556, allocations: 0 / 1.246 GB, free: 180 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.524/3.98, allocations: 21.43 MB / 1.267 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/3.98, allocations: 317.1 kB / 1.267 GB, free: 187 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/6.138, allocations: 2.25 kB / 1.267 GB, free: 187 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)