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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8163/0.8163, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001218, allocations: 175.9 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.719/1.719, allocations: 221.5 MB / 436.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 80.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 277 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.21e-05, allocations: 0 / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4809, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.738/4.219, allocations: 1.691 GB / 2.449 GB, free: 59.58 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/4.219, allocations: 99.14 kB / 2.449 GB, free: 59.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1337/4.353, allocations: 64.61 MB / 2.512 GB, free: 152 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/4.353, allocations: 0 / 2.512 GB, free: 152 kB / 0.698 GB Notification: Performance of Transformations before backend: time 6.874e-05/4.353, allocations: 28 kB / 2.512 GB, free: 124 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.4196/4.772, allocations: 1.119 MB / 2.513 GB, free: 236.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/4.772, allocations: 10.16 kB / 2.513 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/4.774, allocations: 301.2 kB / 2.513 GB, free: 236.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/4.776, allocations: 0.6358 MB / 2.514 GB, free: 236.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/4.776, allocations: 33.88 kB / 2.514 GB, free: 236.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/4.777, allocations: 52.78 kB / 2.514 GB, free: 236.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002589/4.779, allocations: 1.05 MB / 2.515 GB, free: 236.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/4.781, allocations: 0.8099 MB / 2.516 GB, free: 236.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/4.781, allocations: 3.844 kB / 2.516 GB, free: 236.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/4.781, allocations: 1.562 kB / 2.516 GB, free: 236.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.364e-05/4.781, allocations: 21.84 kB / 2.516 GB, free: 236.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/4.786, allocations: 2.422 MB / 2.518 GB, free: 235.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/4.788, allocations: 0.8158 MB / 2.519 GB, free: 235.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/4.788, allocations: 264.2 kB / 2.519 GB, free: 235.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.074e-05/4.789, allocations: 29.42 kB / 2.519 GB, free: 235.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000704/4.789, allocations: 416.5 kB / 2.52 GB, free: 235.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=75): time 2.254e-06/4.789, allocations: 2.781 kB / 2.52 GB, free: 235.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=75): time 0.001923/4.791, allocations: 0.6775 MB / 2.52 GB, free: 235.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.088e-05/4.791, allocations: 242.4 kB / 2.521 GB, free: 234.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/4.792, allocations: 0.493 MB / 2.521 GB, free: 234.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/4.792, allocations: 26.7 kB / 2.521 GB, free: 234.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/4.793, allocations: 405.4 kB / 2.521 GB, free: 234.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/4.793, allocations: 239.7 kB / 2.522 GB, free: 234.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/4.793, allocations: 1.312 kB / 2.522 GB, free: 234.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/4.793, allocations: 380.6 kB / 2.522 GB, free: 234.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/4.793, allocations: 198.4 kB / 2.522 GB, free: 234.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/4.794, allocations: 301.2 kB / 2.522 GB, free: 234.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/4.794, allocations: 251.3 kB / 2.523 GB, free: 234.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/4.794, allocations: 0.5 kB / 2.523 GB, free: 234.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00171/4.796, allocations: 0.6697 MB / 2.523 GB, free: 234 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/4.796, allocations: 8.016 kB / 2.523 GB, free: 234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/4.796, allocations: 7.484 kB / 2.523 GB, free: 234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/4.797, allocations: 77.98 kB / 2.523 GB, free: 233.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/4.797, allocations: 165.2 kB / 2.524 GB, free: 233.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/4.799, allocations: 1.447 MB / 2.525 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/4.8, allocations: 80.73 kB / 2.525 GB, free: 232.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/4.8, allocations: 29 kB / 2.525 GB, free: 232.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001951/4.8, allocations: 116.3 kB / 2.525 GB, free: 232.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001441/4.802, allocations: 0.6818 MB / 2.526 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/4.802, allocations: 74.05 kB / 2.526 GB, free: 232.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001859/4.804, allocations: 0.9381 MB / 2.527 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/4.804, allocations: 7.75 kB / 2.527 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/4.804, allocations: 0 / 2.527 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/4.804, allocations: 11.19 kB / 2.527 GB, free: 232.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/4.807, allocations: 1.775 MB / 2.529 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/4.807, allocations: 0 / 2.529 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/4.807, allocations: 169.9 kB / 2.529 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/4.808, allocations: 82.06 kB / 2.529 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/4.808, allocations: 20.72 kB / 2.529 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001544/4.809, allocations: 1.477 MB / 2.53 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/4.809, allocations: 3.5 kB / 2.53 GB, free: 230.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/4.811, allocations: 0.8551 MB / 2.531 GB, free: 230.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/4.811, allocations: 274.4 kB / 2.531 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/4.811, allocations: 3.875 kB / 2.531 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006656/4.812, allocations: 72.31 kB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/4.812, allocations: 58.33 kB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.302e-05/4.812, allocations: 41.14 kB / 2.532 GB, free: 230.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004515/4.813, allocations: 399.2 kB / 2.532 GB, free: 230.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/4.813, allocations: 0 / 2.532 GB, free: 230.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001205/4.814, allocations: 356.7 kB / 2.532 GB, free: 230.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003617/4.818, allocations: 2.38 MB / 2.535 GB, free: 229.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00144/4.819, allocations: 0.6753 MB / 2.535 GB, free: 229.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/4.819, allocations: 2.156 kB / 2.535 GB, free: 229.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/4.82, allocations: 465.4 kB / 2.536 GB, free: 229.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/4.821, allocations: 222.5 kB / 2.536 GB, free: 229.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/4.825, allocations: 1.549 MB / 2.537 GB, free: 228.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/4.825, allocations: 1.043 MB / 2.539 GB, free: 228.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009052/4.826, allocations: 272.9 kB / 2.539 GB, free: 228.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00046/4.827, allocations: 374.2 kB / 2.539 GB, free: 228.2 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/4.827, allocations: 0 / 2.539 GB, free: 228.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/4.877, allocations: 23.65 MB / 2.562 GB, free: 226.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/4.877, allocations: 227 kB / 2.562 GB, free: 225.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/7.672, allocations: 0 / 2.562 GB, free: 225.9 MB / 0.698 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/linux/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)