Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="BuildingSystems_BuildingSystems_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.001087/0.001087, 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.001091/0.001091, allocations: 199.1 kB / 16.14 MB, free: 6.707 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.148/1.148, 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/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 275.2 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8336/0.8336, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 98.75 kB / 0.5946 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1327, allocations: 86.98 MB / 0.6795 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005616/0.1383, allocations: 4.418 MB / 0.6839 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3961/0.5345, allocations: 148.3 MB / 0.8287 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006798/0.5352, allocations: 20.22 kB / 0.8287 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004622/0.5357, allocations: 138 kB / 0.8288 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.5369, allocations: 434.7 kB / 0.8292 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.5384, allocations: 0.735 MB / 0.8299 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009718/0.5393, allocations: 1.24 MB / 0.8311 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007826/0.5401, allocations: 0.6965 MB / 0.8318 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005177/0.5407, allocations: 445 kB / 0.8323 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004322/0.5411, allocations: 0.4976 MB / 0.8327 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.5412, allocations: 66 kB / 0.8328 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000744/0.542, allocations: 414.6 kB / 0.8332 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.5422, allocations: 261.8 kB / 0.8334 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.5426, allocations: 0.5326 MB / 0.834 GB, free: 80 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.5439, allocations: 1.609 MB / 0.8355 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5439, allocations: 2.719 kB / 0.8355 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5439, allocations: 1.219 kB / 0.8355 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.5439, allocations: 0 / 0.8355 GB, free: 15.84 MB / 0.5762 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.00261/0.5465, allocations: 1.491 MB / 0.837 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.5466, allocations: 9.5 kB / 0.837 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.5467, allocations: 158.3 kB / 0.8372 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.5484, allocations: 304.8 kB / 0.8374 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009903/0.5494, allocations: 0.7653 MB / 0.8382 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/0.5495, allocations: 72.28 kB / 0.8383 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.5496, allocations: 92.28 kB / 0.8384 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.5514, allocations: 1.074 MB / 0.8394 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5515, allocations: 1.375 kB / 0.8394 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/0.5516, allocations: 40.69 kB / 0.8394 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.5516, allocations: 24.28 kB / 0.8395 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/0.5538, allocations: 1.275 MB / 0.8407 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/0.5581, allocations: 2.723 MB / 0.8434 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.5607, allocations: 1.025 MB / 0.8444 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007412/0.5614, allocations: 370.8 kB / 0.8447 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.5615, allocations: 35.02 kB / 0.8448 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.5627, allocations: 0.553 MB / 0.8453 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=84): time 2.295e-06/0.5627, allocations: 0 / 0.8453 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=84): time 0.003738/0.5664, allocations: 1.376 MB / 0.8466 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.896e-05/0.5665, allocations: 199 kB / 0.8468 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007316/0.5673, allocations: 0.6358 MB / 0.8475 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/0.5673, allocations: 42.52 kB / 0.8475 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.5677, allocations: 429.2 kB / 0.8479 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.5679, allocations: 269.7 kB / 0.8482 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.5681, allocations: 161.4 kB / 0.8483 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5683, allocations: 386.9 kB / 0.8487 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.569, allocations: 297.5 kB / 0.849 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/0.5698, allocations: 422.8 kB / 0.8494 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.5712, allocations: 0.6844 MB / 0.85 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5712, allocations: 0 / 0.85 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002272/0.5735, allocations: 0.9107 MB / 0.8509 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5735, allocations: 10.25 kB / 0.8509 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5736, allocations: 3.984 kB / 0.8509 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.5742, allocations: 80.62 kB / 0.851 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007723/0.575, allocations: 180.2 kB / 0.8512 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.5769, allocations: 1.515 MB / 0.8527 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008385/0.5777, allocations: 104.3 kB / 0.8528 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.567e-05/0.5778, allocations: 34.66 kB / 0.8528 GB, free: 5.633 MB / 0.5762 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.0004714/0.5783, allocations: 277.7 kB / 0.8531 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.5785, allocations: 87.05 kB / 0.8531 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.5814, allocations: 1.207 MB / 0.8543 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5814, allocations: 14 kB / 0.8543 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5814, allocations: 5.938 kB / 0.8543 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.5814, allocations: 3.984 kB / 0.8543 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003792/0.5852, allocations: 2.161 MB / 0.8565 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5852, allocations: 0 / 0.8565 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.586, allocations: 172.9 kB / 0.8566 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.5865, allocations: 85.98 kB / 0.8567 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.5866, allocations: 26.84 kB / 0.8567 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.5884, allocations: 1.545 MB / 0.8582 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5884, allocations: 144 / 0.8582 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.5909, allocations: 1.118 MB / 0.8593 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.5913, allocations: 282.6 kB / 0.8596 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.5915, allocations: 28.78 kB / 0.8596 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/0.5923, allocations: 79.09 kB / 0.8597 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5924, allocations: 75.95 kB / 0.8598 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/0.5925, allocations: 40.84 kB / 0.8598 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005623/0.5931, allocations: 469.9 kB / 0.8603 GB, free: 484 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5931, allocations: 0 / 0.8603 GB, free: 484 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000883/0.594, allocations: 318.3 kB / 0.8606 GB, free: 392 kB / 0.5762 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.003931/0.5979, allocations: 2.183 MB / 0.8627 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.6, allocations: 0.9115 MB / 0.8636 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6, allocations: 2.188 kB / 0.8636 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.6011, allocations: 0.5848 MB / 0.8642 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.6023, allocations: 265.8 kB / 0.8644 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.6161, allocations: 7.505 MB / 0.8717 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.6168, allocations: 1.049 MB / 0.8728 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009943/0.6178, allocations: 280.4 kB / 0.873 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006069/0.6184, allocations: 420.7 kB / 0.8734 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.6184, allocations: 2.594 kB / 0.8734 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.515/3.133, allocations: 21.22 MB / 0.8942 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/3.134, allocations: 337.2 kB / 0.8945 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.218/5.352, allocations: 0 / 0.8945 GB, free: 3.043 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)