Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_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.001148/0.001148, 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.001142/0.001142, allocations: 193.3 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.175/1.175, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.001/2.001, allocations: 390.2 MB / 0.6643 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4602, allocations: 140.4 MB / 0.949 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004114/0.4644, allocations: 4.427 MB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1296/0.594, allocations: 148.3 MB / 1.098 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.5947, allocations: 15.94 kB / 1.098 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005595/0.5953, allocations: 138.9 kB / 1.098 GB, free: 8.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.5968, allocations: 437 kB / 1.099 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.5985, allocations: 0.7319 MB / 1.099 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.5997, allocations: 1.254 MB / 1.101 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.6005, allocations: 0.6794 MB / 1.101 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005752/0.6011, allocations: 442.2 kB / 1.102 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.6017, allocations: 0.5065 MB / 1.102 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.6018, allocations: 71.94 kB / 1.102 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007278/0.6026, allocations: 403.7 kB / 1.103 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.6028, allocations: 259 kB / 1.103 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.6033, allocations: 0.532 MB / 1.103 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.6047, allocations: 1.612 MB / 1.105 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6047, allocations: 0 / 1.105 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.12e-07/0.6047, allocations: 0 / 1.105 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6047, allocations: 0 / 1.105 GB, free: 1.746 MB / 0.8575 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.002316/0.6071, allocations: 1.504 MB / 1.107 GB, free: 200 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.6071, allocations: 12.03 kB / 1.107 GB, free: 188 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000151/0.6072, allocations: 148.3 kB / 1.107 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.6088, allocations: 303.4 kB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.6097, allocations: 0.7653 MB / 1.108 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.6098, allocations: 70 kB / 1.108 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.6099, allocations: 96 kB / 1.108 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.6116, allocations: 1.07 MB / 1.109 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.6117, allocations: 3.984 kB / 1.109 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.6118, allocations: 40 kB / 1.109 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.6118, allocations: 27.94 kB / 1.109 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.6139, allocations: 1.272 MB / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003788/0.6177, allocations: 2.72 MB / 1.113 GB, free: 9.508 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.62, allocations: 1.019 MB / 1.114 GB, free: 8.465 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.6208, allocations: 366.6 kB / 1.114 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.319e-05/0.6209, allocations: 38.47 kB / 1.114 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.6219, allocations: 0.551 MB / 1.115 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 1.873e-06/0.6219, allocations: 0 / 1.115 GB, free: 7.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003515/0.6254, allocations: 1.376 MB / 1.116 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.6255, allocations: 192.9 kB / 1.116 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/0.6262, allocations: 0.6372 MB / 1.117 GB, free: 5.227 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.6263, allocations: 49.64 kB / 1.117 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.6265, allocations: 428.2 kB / 1.117 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6267, allocations: 280 kB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/0.6269, allocations: 150.5 kB / 1.118 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6271, allocations: 386.8 kB / 1.118 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.6278, allocations: 301.8 kB / 1.118 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007676/0.6286, allocations: 410.5 kB / 1.119 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.63, allocations: 0.6866 MB / 1.12 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.63, allocations: 0 / 1.12 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002118/0.6321, allocations: 0.9228 MB / 1.12 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.6321, allocations: 7.984 kB / 1.12 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.6321, allocations: 0 / 1.12 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005441/0.6327, allocations: 80.88 kB / 1.121 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/0.6334, allocations: 175.8 kB / 1.121 GB, free: 1.312 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.6352, allocations: 1.514 MB / 1.122 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.6358, allocations: 111.3 kB / 1.122 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.6359, allocations: 35.91 kB / 1.122 GB, free: 15.51 MB / 0.8887 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.0003296/0.6362, allocations: 281.7 kB / 1.123 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.6364, allocations: 82.97 kB / 1.123 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/0.6391, allocations: 1.214 MB / 1.124 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6391, allocations: 11.94 kB / 1.124 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.6391, allocations: 0 / 1.124 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6391, allocations: 3.984 kB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.6425, allocations: 2.152 MB / 1.126 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6425, allocations: 4 kB / 1.126 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/0.6432, allocations: 175.8 kB / 1.126 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.6437, allocations: 80.77 kB / 1.126 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.6437, allocations: 31.97 kB / 1.126 GB, free: 11.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.6453, allocations: 1.54 MB / 1.128 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6453, allocations: 3.938 kB / 1.128 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.6476, allocations: 1.117 MB / 1.129 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.6479, allocations: 279.7 kB / 1.129 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.648, allocations: 20 kB / 1.129 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007505/0.6487, allocations: 87.91 kB / 1.129 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.6489, allocations: 76.83 kB / 1.129 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.649, allocations: 39.97 kB / 1.129 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004697/0.6495, allocations: 467 kB / 1.13 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6495, allocations: 0 / 1.13 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007815/0.6502, allocations: 319.1 kB / 1.13 GB, free: 7.305 MB / 0.8887 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.003603/0.6539, allocations: 2.18 MB / 1.132 GB, free: 5.273 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00185/0.6557, allocations: 0.9134 MB / 1.133 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6557, allocations: 0 / 1.133 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.6568, allocations: 0.5783 MB / 1.134 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.6579, allocations: 265.8 kB / 1.134 GB, free: 3.504 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.6701, allocations: 7.504 MB / 1.141 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.6706, allocations: 1.047 MB / 1.142 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008033/0.6714, allocations: 278.8 kB / 1.143 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.6719, allocations: 426.8 kB / 1.143 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6719, allocations: 0 / 1.143 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.345/5.017, allocations: 21.2 MB / 1.164 GB, free: 5.258 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/5.018, allocations: 315.5 kB / 1.164 GB, free: 4.875 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.764/7.781, allocations: 0 / 1.164 GB, free: 4.875 MB / 0.92 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)