Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002583/0.002583, allocations: 182.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.603/0.603, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 118.8 kB / 427.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 8 kB / 0.4983 GB, free: 42.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 72.3 MB / 0.5689 GB, free: 1.812 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.045/5.213, allocations: 1.685 GB / 2.254 GB, free: 166 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/5.214, allocations: 96.69 kB / 2.254 GB, free: 166 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1391/5.353, allocations: 65.77 MB / 2.318 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.537e-06/5.353, allocations: 0 / 2.318 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.129e-05/5.353, allocations: 28 kB / 2.318 GB, free: 115.6 MB / 0.6042 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.00237/5.355, allocations: 1.239 MB / 2.319 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/5.355, allocations: 12.03 kB / 2.319 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/5.355, allocations: 147.7 kB / 2.32 GB, free: 114.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/5.357, allocations: 298.4 kB / 2.32 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/5.358, allocations: 0.6346 MB / 2.32 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/5.358, allocations: 77.94 kB / 2.321 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.633e-05/5.358, allocations: 91.95 kB / 2.321 GB, free: 113 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/5.359, allocations: 0.9917 MB / 2.322 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/5.36, allocations: 0 / 2.322 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.732e-05/5.36, allocations: 40 kB / 2.322 GB, free: 112 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/5.36, allocations: 24 kB / 2.322 GB, free: 111.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001853/5.361, allocations: 1.233 MB / 2.323 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/5.365, allocations: 2.603 MB / 2.325 GB, free: 108 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/5.367, allocations: 0.9437 MB / 2.326 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/5.367, allocations: 32.69 kB / 2.326 GB, free: 107 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008204/5.368, allocations: 483.2 kB / 2.327 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=75): time 2.344e-06/5.368, allocations: 0 / 2.327 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75): time 0.003253/5.371, allocations: 1.261 MB / 2.328 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/5.371, allocations: 247.9 kB / 2.328 GB, free: 105 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/5.372, allocations: 0.5893 MB / 2.329 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/5.372, allocations: 45.7 kB / 2.329 GB, free: 104.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/5.372, allocations: 399.1 kB / 2.329 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/5.372, allocations: 256.4 kB / 2.33 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/5.373, allocations: 8 kB / 2.33 GB, free: 103.7 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001008/5.373, allocations: 386.8 kB / 2.33 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/5.373, allocations: 269.1 kB / 2.33 GB, free: 103 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/5.374, allocations: 379.5 kB / 2.331 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/5.374, allocations: 315.1 kB / 2.331 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/5.375, allocations: 4 kB / 2.331 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001941/5.376, allocations: 0.8289 MB / 2.332 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/5.376, allocations: 6.031 kB / 2.332 GB, free: 101.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/5.377, allocations: 8.016 kB / 2.332 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/5.377, allocations: 84.77 kB / 2.332 GB, free: 101.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/5.378, allocations: 159.8 kB / 2.332 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/5.38, allocations: 1.53 MB / 2.333 GB, free: 99.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/5.38, allocations: 107.3 kB / 2.333 GB, free: 99.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/5.38, allocations: 31.98 kB / 2.334 GB, free: 99.4 MB / 0.6042 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 () * Number of clocked 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.0005232/5.381, allocations: 257.6 kB / 2.334 GB, free: 99.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/5.381, allocations: 79.06 kB / 2.334 GB, free: 99.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/5.384, allocations: 1.127 MB / 2.335 GB, free: 97.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/5.384, allocations: 8 kB / 2.335 GB, free: 97.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/5.384, allocations: 4 kB / 2.335 GB, free: 97.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/5.384, allocations: 3.984 kB / 2.335 GB, free: 97.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/5.387, allocations: 2.082 MB / 2.337 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/5.387, allocations: 0 / 2.337 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/5.388, allocations: 167.8 kB / 2.337 GB, free: 95.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/5.388, allocations: 88.72 kB / 2.337 GB, free: 95.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/5.388, allocations: 23.98 kB / 2.337 GB, free: 95.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/5.39, allocations: 1.552 MB / 2.339 GB, free: 93.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/5.39, allocations: 0 / 2.339 GB, free: 93.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/5.392, allocations: 1.031 MB / 2.34 GB, free: 92.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/5.392, allocations: 291.7 kB / 2.34 GB, free: 92.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/5.392, allocations: 20 kB / 2.34 GB, free: 92.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007082/5.393, allocations: 83.92 kB / 2.34 GB, free: 92.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/5.393, allocations: 64.92 kB / 2.34 GB, free: 92.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/5.393, allocations: 31.97 kB / 2.34 GB, free: 92.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000586/5.394, allocations: 495 kB / 2.341 GB, free: 91.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/5.394, allocations: 0 / 2.341 GB, free: 91.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001216/5.395, allocations: 383 kB / 2.341 GB, free: 91.39 MB / 0.6042 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) * Number of clocked states: 0 () * 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.004123/5.399, allocations: 2.535 MB / 2.344 GB, free: 89.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00186/5.401, allocations: 0.8453 MB / 2.344 GB, free: 88.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/5.401, allocations: 0 / 2.344 GB, free: 88.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009424/5.402, allocations: 0.5392 MB / 2.345 GB, free: 87.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/5.403, allocations: 239.7 kB / 2.345 GB, free: 87.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009099/5.412, allocations: 5.394 MB / 2.35 GB, free: 81.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/5.413, allocations: 1.047 MB / 2.351 GB, free: 80.83 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009309/5.414, allocations: 270.2 kB / 2.352 GB, free: 80.56 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/5.414, allocations: 383.3 kB / 2.352 GB, free: 80.19 MB / 0.6042 GB Notification: Performance of SimCode: time 1.045e-05/5.414, allocations: 0 / 2.352 GB, free: 80.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/5.544, allocations: 29.94 MB / 2.381 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/5.545, allocations: 282.9 kB / 2.382 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/8.634, allocations: 0 / 2.382 GB, free: 50.19 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)