Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.00577/0.00577, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00152/0.00152, allocations: 202 kB / 16.68 MB, free: 5.969 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 67.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2373, allocations: 151.6 MB / 1.166 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00604/0.2434, allocations: 5.184 MB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6026/0.846, allocations: 150.7 MB / 1.318 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007252/0.8467, allocations: 15.97 kB / 1.318 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.8474, allocations: 197.6 kB / 1.319 GB, free: 9.969 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.8491, allocations: 0.5593 MB / 1.319 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.851, allocations: 0.8607 MB / 1.32 GB, free: 9.551 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.8527, allocations: 1.453 MB / 1.321 GB, free: 9.273 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009133/0.8536, allocations: 0.6669 MB / 1.322 GB, free: 9.098 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.8544, allocations: 0.5135 MB / 1.323 GB, free: 8.992 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006221/0.855, allocations: 0.5556 MB / 1.323 GB, free: 8.852 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000154/0.8552, allocations: 132.2 kB / 1.323 GB, free: 8.848 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008187/0.856, allocations: 495.3 kB / 1.324 GB, free: 8.816 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.8563, allocations: 321.8 kB / 1.324 GB, free: 8.695 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.8569, allocations: 0.6139 MB / 1.325 GB, free: 8.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.8588, allocations: 1.759 MB / 1.326 GB, free: 7.543 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.8588, allocations: 2.609 kB / 1.326 GB, free: 7.543 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8588, allocations: 0 / 1.326 GB, free: 7.543 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.8588, allocations: 0 / 1.326 GB, free: 7.543 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002461/0.8613, allocations: 1.556 MB / 1.328 GB, free: 6.488 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.8613, allocations: 9.891 kB / 1.328 GB, free: 6.488 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/0.8615, allocations: 152.9 kB / 1.328 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.863, allocations: 310.8 kB / 1.328 GB, free: 6.309 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.8641, allocations: 0.794 MB / 1.329 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.8642, allocations: 73.88 kB / 1.329 GB, free: 5.758 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.8643, allocations: 90.83 kB / 1.329 GB, free: 5.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.8661, allocations: 1.072 MB / 1.33 GB, free: 5.266 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.8662, allocations: 0.75 kB / 1.33 GB, free: 5.266 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.945e-05/0.8663, allocations: 41.64 kB / 1.33 GB, free: 5.234 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.8663, allocations: 24.08 kB / 1.33 GB, free: 5.234 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/0.8685, allocations: 1.275 MB / 1.332 GB, free: 4.941 MB / 1.014 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.004067/0.8726, allocations: 2.975 MB / 1.334 GB, free: 3.184 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.875, allocations: 1.025 MB / 1.335 GB, free: 2.758 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.8758, allocations: 367.7 kB / 1.336 GB, free: 2.625 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.078e-05/0.8759, allocations: 29.11 kB / 1.336 GB, free: 2.617 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.8769, allocations: 0.5672 MB / 1.336 GB, free: 2.391 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 1.923e-06/0.8769, allocations: 0 / 1.336 GB, free: 2.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003666/0.8806, allocations: 1.384 MB / 1.338 GB, free: 1.848 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.8807, allocations: 191.8 kB / 1.338 GB, free: 1.625 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007126/0.8814, allocations: 0.6459 MB / 1.339 GB, free: 1.336 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.8815, allocations: 46.11 kB / 1.339 GB, free: 1.293 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/0.8818, allocations: 428.7 kB / 1.339 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.882, allocations: 285.5 kB / 1.339 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.8823, allocations: 158.9 kB / 1.339 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.8825, allocations: 386.7 kB / 1.34 GB, free: 324 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007096/0.8832, allocations: 304.4 kB / 1.34 GB, free: 224 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.884, allocations: 412.5 kB / 1.341 GB, free: 28 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.8855, allocations: 0.6934 MB / 1.341 GB, free: 15.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8855, allocations: 0 / 1.341 GB, free: 15.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002212/0.8877, allocations: 0.9283 MB / 1.342 GB, free: 15.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.8878, allocations: 4.906 kB / 1.342 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8878, allocations: 2.812 kB / 1.342 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/0.8883, allocations: 84.83 kB / 1.342 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.889, allocations: 172 kB / 1.342 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02969/0.9187, allocations: 1.632 MB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/0.9197, allocations: 117.8 kB / 1.344 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.9197, allocations: 35.73 kB / 1.344 GB, free: 13.74 MB / 1.029 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 (90): * Single equations (assignments): 89 * 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.0003887/0.9201, allocations: 264.2 kB / 1.344 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.9203, allocations: 97.56 kB / 1.344 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.9231, allocations: 1.213 MB / 1.346 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.9231, allocations: 8.875 kB / 1.346 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.9231, allocations: 4.844 kB / 1.346 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.9231, allocations: 4.266 kB / 1.346 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.9266, allocations: 2.139 MB / 1.348 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.9266, allocations: 1 kB / 1.348 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006677/0.9273, allocations: 172 kB / 1.348 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003948/0.9277, allocations: 73.28 kB / 1.348 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.9277, allocations: 26.17 kB / 1.348 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.9295, allocations: 1.661 MB / 1.35 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9295, allocations: 0 / 1.35 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.9318, allocations: 1.125 MB / 1.351 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003305/0.9322, allocations: 283.1 kB / 1.351 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.9323, allocations: 20.14 kB / 1.351 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007401/0.9331, allocations: 88.11 kB / 1.351 GB, free: 9.699 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.9332, allocations: 82.16 kB / 1.351 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-05/0.9333, allocations: 42.88 kB / 1.351 GB, free: 9.668 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005032/0.9338, allocations: 466.1 kB / 1.352 GB, free: 9.465 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9338, allocations: 0 / 1.352 GB, free: 9.465 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008212/0.9346, allocations: 343.4 kB / 1.352 GB, free: 9.371 MB / 1.029 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 (97): * Single equations (assignments): 91 * 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.004169/0.9388, allocations: 2.177 MB / 1.354 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.9406, allocations: 0.9157 MB / 1.355 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9407, allocations: 1.219 kB / 1.355 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.9417, allocations: 0.5858 MB / 1.356 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.9429, allocations: 316 kB / 1.356 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.9531, allocations: 6.75 MB / 1.362 GB, free: 3.348 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.9537, allocations: 1.052 MB / 1.363 GB, free: 2.492 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007479/0.9545, allocations: 284.6 kB / 1.364 GB, free: 2.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/0.955, allocations: 415.5 kB / 1.364 GB, free: 2.012 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.955, allocations: 0 / 1.364 GB, free: 2.012 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.683/3.638, allocations: 22.67 MB / 1.386 GB, free: 3.062 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.31/34.95, allocations: 14.03 kB / 1.386 GB, free: 3.051 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)