Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.094/2.094, allocations: 292.6 MB / 307.5 MB, free: 5.137 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.001607/0.001608, allocations: 196.5 kB / 377.1 MB, free: 1.488 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.057/2.057, allocations: 205.4 MB / 0.6367 GB, free: 8.52 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.001065/0.001065, allocations: 96.86 kB / 0.751 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 12 kB / 0.8748 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3484, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.068, allocations: 2.077 GB / 3.065 GB, free: 142.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/6.068, allocations: 87.95 kB / 3.066 GB, free: 142.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2144/6.282, allocations: 97.97 MB / 3.161 GB, free: 44.12 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.937e-06/6.282, allocations: 0 / 3.161 GB, free: 44.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001865/6.283, allocations: 44 kB / 3.161 GB, free: 44.08 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.005972/6.289, allocations: 2.007 MB / 3.163 GB, free: 42.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/6.289, allocations: 12.03 kB / 3.163 GB, free: 42 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/6.301, allocations: 1.796 MB / 3.165 GB, free: 40.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/6.304, allocations: 1.032 MB / 3.166 GB, free: 39.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/6.304, allocations: 143.7 kB / 3.166 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/6.305, allocations: 187.9 kB / 3.166 GB, free: 38.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008957/6.313, allocations: 2.918 MB / 3.169 GB, free: 35.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/6.314, allocations: 0 / 3.169 GB, free: 35.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/6.314, allocations: 80 kB / 3.169 GB, free: 35.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/6.314, allocations: 47.98 kB / 3.169 GB, free: 35.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/6.325, allocations: 4.007 MB / 3.173 GB, free: 31.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/6.339, allocations: 6.228 MB / 3.179 GB, free: 25.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007308/6.347, allocations: 2.744 MB / 3.182 GB, free: 22.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008222/6.348, allocations: 0.5072 MB / 3.182 GB, free: 22.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004179/6.352, allocations: 1.633 MB / 3.184 GB, free: 20.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=192): time 4.007e-06/6.352, allocations: 3.938 kB / 3.184 GB, free: 20.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=192): time 0.013/6.365, allocations: 4.058 MB / 3.188 GB, free: 16.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/6.365, allocations: 257.3 kB / 3.188 GB, free: 16 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/6.367, allocations: 0.7587 MB / 3.189 GB, free: 15.24 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004977/6.367, allocations: 65.69 kB / 3.189 GB, free: 15.17 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007094/6.368, allocations: 0.6336 MB / 3.19 GB, free: 14.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007759/6.369, allocations: 0.6236 MB / 3.19 GB, free: 13.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/6.369, allocations: 35.94 kB / 3.19 GB, free: 13.86 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001754/6.369, allocations: 365.9 kB / 3.191 GB, free: 13.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/6.373, allocations: 1.12 MB / 3.192 GB, free: 12.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/6.377, allocations: 1.309 MB / 3.193 GB, free: 11.03 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003671/6.38, allocations: 1.162 MB / 3.194 GB, free: 9.871 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/6.38, allocations: 4 kB / 3.194 GB, free: 9.867 MB / 0.948 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009027/6.39, allocations: 2.788 MB / 3.197 GB, free: 7.066 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/6.39, allocations: 16.05 kB / 3.197 GB, free: 7.051 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/6.39, allocations: 0 / 3.197 GB, free: 7.051 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000669/6.39, allocations: 92.77 kB / 3.197 GB, free: 6.957 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003587/6.394, allocations: 0.5383 MB / 3.198 GB, free: 6.418 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/6.396, allocations: 1.544 MB / 3.199 GB, free: 4.727 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/6.399, allocations: 310.4 kB / 3.199 GB, free: 4.422 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005755/6.4, allocations: 91.89 kB / 3.199 GB, free: 4.332 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 () * Number of clocked 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.001753/6.402, allocations: 373.5 kB / 3.2 GB, free: 3.957 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000755/6.402, allocations: 138.3 kB / 3.2 GB, free: 3.82 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/6.413, allocations: 3.396 MB / 3.203 GB, free: 412 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/6.413, allocations: 20 kB / 3.203 GB, free: 392 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/6.413, allocations: 0 / 3.203 GB, free: 392 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/6.414, allocations: 19.94 kB / 3.203 GB, free: 372 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7089/7.122, allocations: 5.551 MB / 3.209 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/7.123, allocations: 3.781 kB / 3.209 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003263/7.126, allocations: 0.5271 MB / 3.209 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005449/7.126, allocations: 88.36 kB / 3.209 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/7.127, allocations: 64.86 kB / 3.209 GB, free: 235.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/7.128, allocations: 1.564 MB / 3.211 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/7.128, allocations: 3.781 kB / 3.211 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008893/7.137, allocations: 2.949 MB / 3.214 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/7.139, allocations: 0.5322 MB / 3.214 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/7.139, allocations: 37.75 kB / 3.214 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/7.141, allocations: 245.3 kB / 3.215 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/7.142, allocations: 123.8 kB / 3.215 GB, free: 234.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/7.142, allocations: 82.56 kB / 3.215 GB, free: 234.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001112/7.143, allocations: 0.6452 MB / 3.215 GB, free: 234 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/7.143, allocations: 0 / 3.215 GB, free: 234 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00288/7.146, allocations: 0.6096 MB / 3.216 GB, free: 233.9 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) * Number of clocked states: 0 () * 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.002638/7.149, allocations: 1.075 MB / 3.217 GB, free: 233.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009462/7.158, allocations: 2.853 MB / 3.22 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/7.158, allocations: 1.125 kB / 3.22 GB, free: 233.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004917/7.163, allocations: 1.601 MB / 3.221 GB, free: 233.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/7.165, allocations: 275.4 kB / 3.222 GB, free: 233.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/7.177, allocations: 4.495 MB / 3.226 GB, free: 231.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/7.179, allocations: 1.354 MB / 3.227 GB, free: 231 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004469/7.184, allocations: 0.5574 MB / 3.228 GB, free: 231 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/7.185, allocations: 208.9 kB / 3.228 GB, free: 231 MB / 0.948 GB Notification: Performance of SimCode: time 2.114e-06/7.185, allocations: 0 / 3.228 GB, free: 231 MB / 0.948 GB Notification: Performance of Templates: time 0.06365/7.248, allocations: 32.38 MB / 3.26 GB, free: 229 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)