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.0009495/0.0009495, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4785/0.4785, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.5 MB / 343.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.89 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.547e-05/1.549e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.897/4.033, allocations: 1.684 GB / 2.238 GB, free: 8.047 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/4.033, allocations: 95.94 kB / 2.238 GB, free: 7.953 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5581/4.591, allocations: 64.63 MB / 2.301 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/4.591, allocations: 0 / 2.301 GB, free: 198.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001339/4.592, allocations: 28 kB / 2.301 GB, free: 198.5 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.003026/4.595, allocations: 1.122 MB / 2.302 GB, free: 197.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/4.595, allocations: 8.031 kB / 2.302 GB, free: 197.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/4.597, allocations: 298.4 kB / 2.302 GB, free: 197 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/4.598, allocations: 0.6386 MB / 2.303 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/4.598, allocations: 28 kB / 2.303 GB, free: 196.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/4.598, allocations: 52 kB / 2.303 GB, free: 196.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001791/4.6, allocations: 1.058 MB / 2.304 GB, free: 195.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/4.602, allocations: 0.8006 MB / 2.305 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/4.602, allocations: 4 kB / 2.305 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.873e-05/4.602, allocations: 4 kB / 2.305 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/4.602, allocations: 20 kB / 2.305 GB, free: 194.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004519/4.606, allocations: 2.428 MB / 2.307 GB, free: 191.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/4.608, allocations: 0.813 MB / 2.308 GB, free: 191 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/4.609, allocations: 255.2 kB / 2.308 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/4.609, allocations: 32.81 kB / 2.308 GB, free: 190.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006291/4.609, allocations: 411.8 kB / 2.309 GB, free: 190.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=75): time 3.807e-06/4.609, allocations: 0 / 2.309 GB, free: 190.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75): time 0.001731/4.611, allocations: 0.672 MB / 2.309 GB, free: 189.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/4.611, allocations: 244.1 kB / 2.31 GB, free: 189.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/4.612, allocations: 498.2 kB / 2.31 GB, free: 188.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.344e-05/4.612, allocations: 33.7 kB / 2.31 GB, free: 188.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/4.612, allocations: 412 kB / 2.311 GB, free: 188.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/4.613, allocations: 232.4 kB / 2.311 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/4.613, allocations: 0 / 2.311 GB, free: 188.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001333/4.613, allocations: 378.7 kB / 2.311 GB, free: 187.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/4.613, allocations: 201.5 kB / 2.311 GB, free: 187.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/4.614, allocations: 307.5 kB / 2.312 GB, free: 187.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003872/4.614, allocations: 244.5 kB / 2.312 GB, free: 187 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/4.614, allocations: 0 / 2.312 GB, free: 187 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001432/4.615, allocations: 0.672 MB / 2.313 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/4.615, allocations: 8 kB / 2.313 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/4.615, allocations: 0 / 2.313 GB, free: 186.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/4.616, allocations: 80.84 kB / 2.313 GB, free: 186.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/4.617, allocations: 167.7 kB / 2.313 GB, free: 186 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/4.618, allocations: 1.449 MB / 2.314 GB, free: 184.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/4.619, allocations: 83.48 kB / 2.314 GB, free: 184.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/4.619, allocations: 31.97 kB / 2.314 GB, free: 184.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 () * 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.0001895/4.62, allocations: 121.8 kB / 2.314 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001399/4.621, allocations: 0.6758 MB / 2.315 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/4.621, allocations: 75.14 kB / 2.315 GB, free: 183.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/4.623, allocations: 0.9382 MB / 2.316 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/4.623, allocations: 12 kB / 2.316 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/4.623, allocations: 0 / 2.316 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/4.623, allocations: 7.969 kB / 2.316 GB, free: 182.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/4.626, allocations: 1.775 MB / 2.318 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/4.626, allocations: 0 / 2.318 GB, free: 180.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/4.627, allocations: 167.8 kB / 2.318 GB, free: 180.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/4.627, allocations: 84.77 kB / 2.318 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/4.627, allocations: 11.98 kB / 2.318 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/4.629, allocations: 1.477 MB / 2.32 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/4.629, allocations: 0 / 2.32 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/4.63, allocations: 0.8572 MB / 2.32 GB, free: 177.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/4.63, allocations: 279.9 kB / 2.321 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/4.631, allocations: 7.984 kB / 2.321 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007192/4.631, allocations: 67.94 kB / 2.321 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/4.632, allocations: 60.69 kB / 2.321 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/4.632, allocations: 31.98 kB / 2.321 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005344/4.632, allocations: 406.9 kB / 2.321 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/4.632, allocations: 0 / 2.321 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001369/4.634, allocations: 347 kB / 2.322 GB, free: 176.7 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) * 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.003973/4.637, allocations: 2.377 MB / 2.324 GB, free: 174.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001234/4.639, allocations: 0.6713 MB / 2.325 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/4.639, allocations: 7.938 kB / 2.325 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006666/4.639, allocations: 468.4 kB / 2.325 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/4.641, allocations: 222.7 kB / 2.325 GB, free: 173.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/4.645, allocations: 1.546 MB / 2.327 GB, free: 171.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/4.646, allocations: 1.046 MB / 2.328 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001005/4.647, allocations: 261.7 kB / 2.328 GB, free: 170.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/4.647, allocations: 371.3 kB / 2.328 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of SimCode: time 1.332e-06/4.647, allocations: 0 / 2.328 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05782/4.705, allocations: 23.63 MB / 2.351 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/4.705, allocations: 214.6 kB / 2.352 GB, free: 146 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.922/7.627, allocations: 0 / 2.352 GB, free: 146 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)