Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 2.524/2.524, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 176.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009409/0.000941, allocations: 101.7 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.411e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9048/0.9049, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.664/7.569, allocations: 2.075 GB / 3.04 GB, free: 84.81 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/7.569, allocations: 88.8 kB / 3.04 GB, free: 84.72 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8538/8.423, allocations: 95.62 MB / 3.133 GB, free: 308.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.368e-06/8.423, allocations: 0 / 3.133 GB, free: 308.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001538/8.423, allocations: 43.89 kB / 3.133 GB, free: 308.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.006655/8.43, allocations: 1.861 MB / 3.135 GB, free: 307.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.431e-05/8.43, allocations: 9.781 kB / 3.135 GB, free: 307.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/8.447, allocations: 1.8 MB / 3.137 GB, free: 307.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005293/8.452, allocations: 1.027 MB / 3.138 GB, free: 306.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/8.452, allocations: 62.34 kB / 3.138 GB, free: 306.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/8.454, allocations: 105.9 kB / 3.138 GB, free: 306.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01229/8.466, allocations: 2.775 MB / 3.141 GB, free: 306.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006707/8.473, allocations: 2.079 MB / 3.143 GB, free: 306.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/8.473, allocations: 0 / 3.143 GB, free: 306.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002479/8.473, allocations: 3.25 kB / 3.143 GB, free: 306.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/8.473, allocations: 54.73 kB / 3.143 GB, free: 306.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/8.495, allocations: 5.918 MB / 3.149 GB, free: 305.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/8.498, allocations: 1.912 MB / 3.151 GB, free: 305.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/8.5, allocations: 0.9818 MB / 3.151 GB, free: 305.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008761/8.501, allocations: 0.5035 MB / 3.152 GB, free: 305.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/8.504, allocations: 1.236 MB / 3.153 GB, free: 305 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 4.969e-06/8.504, allocations: 4.656 kB / 3.153 GB, free: 305 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.01449/8.518, allocations: 3.383 MB / 3.157 GB, free: 304.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/8.518, allocations: 259.6 kB / 3.157 GB, free: 304.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/8.52, allocations: 0.6576 MB / 3.157 GB, free: 304.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002389/8.52, allocations: 27.17 kB / 3.157 GB, free: 304.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000655/8.521, allocations: 0.6337 MB / 3.158 GB, free: 304.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006174/8.521, allocations: 0.593 MB / 3.159 GB, free: 303.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/8.522, allocations: 7.266 kB / 3.159 GB, free: 303.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001202/8.522, allocations: 368.6 kB / 3.159 GB, free: 303.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/8.523, allocations: 0.7447 MB / 3.16 GB, free: 303.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/8.525, allocations: 0.9202 MB / 3.161 GB, free: 303.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009788/8.534, allocations: 2.217 MB / 3.163 GB, free: 303 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-05/8.534, allocations: 0 / 3.163 GB, free: 303 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01421/8.549, allocations: 3.426 MB / 3.166 GB, free: 302.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/8.549, allocations: 8.547 kB / 3.166 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/8.549, allocations: 2.281 kB / 3.166 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/8.549, allocations: 81.41 kB / 3.166 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/8.553, allocations: 0.544 MB / 3.167 GB, free: 302 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/8.555, allocations: 1.459 MB / 3.168 GB, free: 300.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003383/8.558, allocations: 268 kB / 3.168 GB, free: 300.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004408/8.559, allocations: 87.89 kB / 3.168 GB, free: 300.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (203): * Single equations (assignments): 202 * 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.0005547/8.559, allocations: 130.8 kB / 3.169 GB, free: 300.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01427/8.574, allocations: 3.39 MB / 3.172 GB, free: 299.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006042/8.574, allocations: 129.5 kB / 3.172 GB, free: 299.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/8.591, allocations: 3.983 MB / 3.176 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-05/8.591, allocations: 20.75 kB / 3.176 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/8.591, allocations: 3.953 kB / 3.176 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/8.591, allocations: 11.2 kB / 3.176 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/8.609, allocations: 5.925 MB / 3.182 GB, free: 295.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/8.609, allocations: 3.703 kB / 3.182 GB, free: 295.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003489/8.613, allocations: 0.5249 MB / 3.182 GB, free: 295.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005937/8.613, allocations: 91.78 kB / 3.182 GB, free: 295.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/8.614, allocations: 50.34 kB / 3.182 GB, free: 295.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/8.616, allocations: 1.488 MB / 3.184 GB, free: 294.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/8.616, allocations: 0 / 3.184 GB, free: 294.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/8.629, allocations: 3.569 MB / 3.187 GB, free: 293.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/8.63, allocations: 0.523 MB / 3.188 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/8.63, allocations: 4 kB / 3.188 GB, free: 293.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/8.633, allocations: 216.9 kB / 3.188 GB, free: 293 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002641/8.633, allocations: 123.8 kB / 3.188 GB, free: 293 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/8.634, allocations: 85.78 kB / 3.188 GB, free: 293 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008277/8.634, allocations: 0.5453 MB / 3.189 GB, free: 292.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.11e-07/8.634, allocations: 0 / 3.189 GB, free: 292.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002343/8.637, allocations: 0.5443 MB / 3.189 GB, free: 292.6 MB / 0.948 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 (206): * Single equations (assignments): 203 * 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.01535/8.652, allocations: 5.104 MB / 3.194 GB, free: 290.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003776/8.656, allocations: 2.076 MB / 3.196 GB, free: 289.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/8.656, allocations: 0 / 3.196 GB, free: 289.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/8.658, allocations: 1.212 MB / 3.198 GB, free: 289.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/8.66, allocations: 242.6 kB / 3.198 GB, free: 289.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007759/8.667, allocations: 2.922 MB / 3.201 GB, free: 288.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001027/8.669, allocations: 1.351 MB / 3.202 GB, free: 287.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003817/8.672, allocations: 0.543 MB / 3.202 GB, free: 287.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/8.674, allocations: 0.7392 MB / 3.203 GB, free: 286.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.154e-06/8.674, allocations: 0 / 3.203 GB, free: 286.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09636/8.77, allocations: 40.14 MB / 3.242 GB, free: 262.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/8.771, allocations: 222.2 kB / 3.243 GB, free: 262.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.421/13.19, allocations: 1.125 kB / 3.243 GB, free: 262.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)