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.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.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.001225/0.001225, 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.00126/0.001261, allocations: 195.4 kB / 16.14 MB, free: 6.691 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.598 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.34/2.34, allocations: 437 MB / 0.7099 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4979/0.4992, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005746/0.505, allocations: 5.192 MB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1335/0.6385, allocations: 148.4 MB / 1.167 GB, free: 8.695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/0.6393, allocations: 19.88 kB / 1.167 GB, free: 8.676 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.6398, allocations: 150.8 kB / 1.167 GB, free: 8.527 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.6411, allocations: 498.2 kB / 1.167 GB, free: 8.043 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.6426, allocations: 0.7445 MB / 1.168 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.6436, allocations: 1.354 MB / 1.169 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007666/0.6444, allocations: 0.6447 MB / 1.17 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.6448, allocations: 458.2 kB / 1.17 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004663/0.6453, allocations: 0.5288 MB / 1.171 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.6454, allocations: 64 kB / 1.171 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006318/0.6461, allocations: 411.6 kB / 1.171 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.6463, allocations: 259 kB / 1.172 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/0.6467, allocations: 0.5555 MB / 1.172 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.6481, allocations: 1.655 MB / 1.174 GB, free: 1.359 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.6481, allocations: 4 kB / 1.174 GB, free: 1.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6481, allocations: 0 / 1.174 GB, free: 1.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.6481, allocations: 0 / 1.174 GB, free: 1.355 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002381/0.6505, allocations: 1.512 MB / 1.175 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.6505, allocations: 8.031 kB / 1.175 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001514/0.6507, allocations: 148.3 kB / 1.175 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.6523, allocations: 311.1 kB / 1.176 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009556/0.6532, allocations: 0.7731 MB / 1.176 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.934e-05/0.6533, allocations: 74 kB / 1.177 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.6534, allocations: 92 kB / 1.177 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.6553, allocations: 1.066 MB / 1.178 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.6553, allocations: 8 kB / 1.178 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.89e-05/0.6554, allocations: 40 kB / 1.178 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.6554, allocations: 24 kB / 1.178 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.6576, allocations: 1.264 MB / 1.179 GB, free: 11.91 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.004115/0.6617, allocations: 2.986 MB / 1.182 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.6642, allocations: 1.028 MB / 1.183 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007461/0.6649, allocations: 362.6 kB / 1.183 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.581e-05/0.665, allocations: 38.42 kB / 1.183 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.6661, allocations: 0.5625 MB / 1.184 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 1.993e-06/0.6661, allocations: 8 kB / 1.184 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003641/0.6698, allocations: 1.387 MB / 1.185 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.351e-05/0.6699, allocations: 188.9 kB / 1.185 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.6705, allocations: 0.6372 MB / 1.186 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.6706, allocations: 45.69 kB / 1.186 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.6709, allocations: 424.2 kB / 1.186 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.6711, allocations: 276.1 kB / 1.187 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.6713, allocations: 150.5 kB / 1.187 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.6714, allocations: 394.7 kB / 1.187 GB, free: 3.18 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/0.6722, allocations: 297.8 kB / 1.188 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.673, allocations: 422.4 kB / 1.188 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.6744, allocations: 0.6906 MB / 1.189 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6744, allocations: 0 / 1.189 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002202/0.6766, allocations: 0.9189 MB / 1.189 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.6767, allocations: 4 kB / 1.189 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6767, allocations: 4 kB / 1.189 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.6772, allocations: 84.86 kB / 1.19 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007373/0.678, allocations: 175.8 kB / 1.19 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.6798, allocations: 1.54 MB / 1.191 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007511/0.6806, allocations: 111.2 kB / 1.191 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.6806, allocations: 35.92 kB / 1.191 GB, free: 14.73 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 (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.0003401/0.681, allocations: 270.6 kB / 1.192 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.6811, allocations: 86.97 kB / 1.192 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.6839, allocations: 1.202 MB / 1.193 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.6839, allocations: 12 kB / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.6839, allocations: 0 / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.6839, allocations: 3.984 kB / 1.193 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.6874, allocations: 2.155 MB / 1.195 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6874, allocations: 7.938 kB / 1.195 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/0.6881, allocations: 167.8 kB / 1.195 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/0.6886, allocations: 84.77 kB / 1.195 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.873e-05/0.6887, allocations: 23.98 kB / 1.195 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.6903, allocations: 1.559 MB / 1.197 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6903, allocations: 0 / 1.197 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.6927, allocations: 1.117 MB / 1.198 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.693, allocations: 275.7 kB / 1.198 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6931, allocations: 24 kB / 1.198 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.6939, allocations: 87.84 kB / 1.198 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.6941, allocations: 72.89 kB / 1.198 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.6941, allocations: 43.97 kB / 1.198 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005152/0.6947, allocations: 467 kB / 1.199 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6947, allocations: 0 / 1.199 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007981/0.6955, allocations: 343.1 kB / 1.199 GB, free: 6.508 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 (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.003672/0.6992, allocations: 2.158 MB / 1.201 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.7011, allocations: 0.9173 MB / 1.202 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.7011, allocations: 0 / 1.202 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.7022, allocations: 0.5822 MB / 1.203 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.7033, allocations: 292.2 kB / 1.203 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.715, allocations: 7.401 MB / 1.21 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.7156, allocations: 1.047 MB / 1.211 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000845/0.7164, allocations: 278.9 kB / 1.212 GB, free: 9.777 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.717, allocations: 419.3 kB / 1.212 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of SimCode: time 2.2e-07/0.717, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5594/1.276, allocations: 21.6 MB / 1.233 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/1.277, allocations: 337.9 kB / 1.233 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.502, allocations: 0 / 1.233 GB, free: 3.773 MB / 0.9825 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=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)