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.0008763/0.0008764, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005511/0.005511, allocations: 170 kB / 16.26 MB, free: 6.613 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.256/1.256, allocations: 223.2 MB / 240.3 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 274.4 kB / 291.7 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9078/0.9078, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 12.72 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004374/0.1347, allocations: 3.999 MB / 0.6891 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.392/0.5266, allocations: 146.7 MB / 0.8324 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005755/0.5272, allocations: 13.56 kB / 0.8324 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.5277, allocations: 141.5 kB / 0.8325 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001264/0.529, allocations: 427.9 kB / 0.8329 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.5305, allocations: 0.7361 MB / 0.8337 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.5315, allocations: 1.24 MB / 0.8349 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.5323, allocations: 0.6768 MB / 0.8355 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.5326, allocations: 351.2 kB / 0.8359 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004159/0.5331, allocations: 402.1 kB / 0.8362 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.219e-05/0.5332, allocations: 29.03 kB / 0.8363 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.5337, allocations: 371.9 kB / 0.8366 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.5339, allocations: 192.6 kB / 0.8368 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.5342, allocations: 485.6 kB / 0.8373 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.5353, allocations: 1.563 MB / 0.8388 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5354, allocations: 4 kB / 0.8388 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5354, allocations: 0 / 0.8388 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.5354, allocations: 6.938 kB / 0.8388 GB, free: 8.57 MB / 0.5606 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.001896/0.5373, allocations: 1.257 MB / 0.84 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.5373, allocations: 9.969 kB / 0.84 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.5375, allocations: 149.7 kB / 0.8402 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.5389, allocations: 319.8 kB / 0.8405 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008706/0.5398, allocations: 0.7645 MB / 0.8412 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.5399, allocations: 81.92 kB / 0.8413 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.54, allocations: 92.72 kB / 0.8414 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.5417, allocations: 1.07 MB / 0.8425 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.5417, allocations: 2.469 kB / 0.8425 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.414e-05/0.5418, allocations: 44.72 kB / 0.8425 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.5418, allocations: 24.62 kB / 0.8425 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.5438, allocations: 1.282 MB / 0.8438 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.5475, allocations: 2.747 MB / 0.8465 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.5497, allocations: 1.038 MB / 0.8475 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006892/0.5504, allocations: 364.5 kB / 0.8478 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.373e-05/0.5505, allocations: 37.5 kB / 0.8479 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000961/0.5515, allocations: 0.5588 MB / 0.8484 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=84): time 1.743e-06/0.5515, allocations: 0 / 0.8484 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=84): time 0.003347/0.5548, allocations: 1.401 MB / 0.8498 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.5549, allocations: 189.6 kB / 0.8499 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.5556, allocations: 0.6361 MB / 0.8506 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.5556, allocations: 40.95 kB / 0.8506 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.5559, allocations: 426.2 kB / 0.851 GB, free: 452 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.5561, allocations: 277.4 kB / 0.8513 GB, free: 204 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.5562, allocations: 59.81 kB / 0.8513 GB, free: 160 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5563, allocations: 389.3 kB / 0.8517 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.557, allocations: 305.6 kB / 0.852 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.5577, allocations: 422.7 kB / 0.8524 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.5591, allocations: 0.6959 MB / 0.8531 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5591, allocations: 0 / 0.8531 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001987/0.5611, allocations: 0.9293 MB / 0.854 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.5611, allocations: 5.781 kB / 0.854 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5611, allocations: 3.984 kB / 0.854 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.5616, allocations: 87.22 kB / 0.8541 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006714/0.5623, allocations: 183.3 kB / 0.8543 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04346/0.6058, allocations: 1.509 MB / 0.8557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/0.6067, allocations: 125.9 kB / 0.8558 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.515e-05/0.6068, allocations: 35.36 kB / 0.8559 GB, free: 12.9 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.000419/0.6072, allocations: 280.9 kB / 0.8562 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6074, allocations: 84.44 kB / 0.8562 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.6099, allocations: 1.219 MB / 0.8574 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.61, allocations: 8 kB / 0.8574 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.61, allocations: 0 / 0.8574 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.61, allocations: 3.984 kB / 0.8574 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/0.6133, allocations: 2.174 MB / 0.8596 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.6133, allocations: 4 kB / 0.8596 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006698/0.614, allocations: 182.3 kB / 0.8597 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.6145, allocations: 80.22 kB / 0.8598 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.6146, allocations: 28.69 kB / 0.8598 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.6162, allocations: 1.545 MB / 0.8613 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6162, allocations: 4.062 kB / 0.8613 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.6184, allocations: 1.123 MB / 0.8624 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.6187, allocations: 291.9 kB / 0.8627 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.6188, allocations: 25.17 kB / 0.8627 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/0.6196, allocations: 100 kB / 0.8628 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.6197, allocations: 71.05 kB / 0.8629 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.6198, allocations: 40.69 kB / 0.863 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004706/0.6203, allocations: 466.4 kB / 0.8634 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6203, allocations: 0 / 0.8634 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007115/0.621, allocations: 328.7 kB / 0.8637 GB, free: 7.598 MB / 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.003551/0.6246, allocations: 2.188 MB / 0.8658 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001877/0.6264, allocations: 0.9134 MB / 0.8667 GB, free: 5.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6265, allocations: 4 kB / 0.8667 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.6276, allocations: 0.5821 MB / 0.8673 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.6287, allocations: 272.4 kB / 0.8676 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.6415, allocations: 7.589 MB / 0.875 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.6421, allocations: 1.055 MB / 0.876 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000816/0.6429, allocations: 286.8 kB / 0.8763 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005563/0.6434, allocations: 421.8 kB / 0.8767 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.6435, allocations: 0 / 0.8767 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.354/2.997, allocations: 20.91 MB / 0.8971 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/2.998, allocations: 330.7 kB / 0.8974 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/5.415, allocations: 0 / 0.8974 GB, free: 5.98 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)