Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8478/0.8478, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.001171, allocations: 181.9 kB / 187.3 MB, free: 11.89 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.531/1.531, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.001052/0.001052, allocations: 94.3 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001863/0.001863, allocations: 269.5 kB / 0.5939 GB, free: 7.992 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.154e-05/4.156e-05, allocations: 4 kB / 0.6834 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5462, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.72/5.266, allocations: 1.695 GB / 2.46 GB, free: 47.34 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/5.267, allocations: 94.84 kB / 2.46 GB, free: 47.29 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6708/5.937, allocations: 99.68 MB / 2.557 GB, free: 230 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.623e-06/5.937, allocations: 2.344 kB / 2.557 GB, free: 230 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.917e-05/5.938, allocations: 45.84 kB / 2.557 GB, free: 230 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.00356/5.941, allocations: 1.919 MB / 2.559 GB, free: 228.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/5.941, allocations: 10.03 kB / 2.559 GB, free: 228.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/5.953, allocations: 1.891 MB / 2.561 GB, free: 227.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/5.955, allocations: 1.04 MB / 2.562 GB, free: 227.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.155e-05/5.955, allocations: 146.7 kB / 2.562 GB, free: 227 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/5.956, allocations: 196.5 kB / 2.562 GB, free: 226.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/5.96, allocations: 2.444 MB / 2.565 GB, free: 225.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/5.96, allocations: 0 / 2.565 GB, free: 225.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/5.96, allocations: 85 kB / 2.565 GB, free: 225.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/5.96, allocations: 51.98 kB / 2.565 GB, free: 225.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0043/5.964, allocations: 2.962 MB / 2.568 GB, free: 222.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01243/5.977, allocations: 6.737 MB / 2.574 GB, free: 216 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/5.98, allocations: 1.996 MB / 2.576 GB, free: 214 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/5.981, allocations: 1.061 MB / 2.577 GB, free: 213 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006676/5.982, allocations: 0.5026 MB / 2.578 GB, free: 212.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001792/5.984, allocations: 1.326 MB / 2.579 GB, free: 211.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=195): time 3.707e-06/5.984, allocations: 0 / 2.579 GB, free: 211.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.003972/5.988, allocations: 2.108 MB / 2.581 GB, free: 208.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/5.988, allocations: 257.3 kB / 2.581 GB, free: 208.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/5.989, allocations: 0.7825 MB / 2.582 GB, free: 207.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000178/5.989, allocations: 64.8 kB / 2.582 GB, free: 207.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/5.989, allocations: 0.6568 MB / 2.583 GB, free: 207.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000407/5.99, allocations: 0.6306 MB / 2.583 GB, free: 206.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/5.99, allocations: 32 kB / 2.583 GB, free: 206.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.82e-05/5.99, allocations: 369.9 kB / 2.584 GB, free: 206.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/5.991, allocations: 0.7968 MB / 2.585 GB, free: 205.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/5.993, allocations: 0.9892 MB / 2.585 GB, free: 204.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/5.994, allocations: 0.8401 MB / 2.586 GB, free: 203.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/5.994, allocations: 8 kB / 2.586 GB, free: 203.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003804/5.998, allocations: 2.148 MB / 2.588 GB, free: 201.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/5.998, allocations: 13.44 kB / 2.588 GB, free: 201.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/5.998, allocations: 3.984 kB / 2.588 GB, free: 201.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000572/5.998, allocations: 88.78 kB / 2.589 GB, free: 201.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/6.002, allocations: 0.5612 MB / 2.589 GB, free: 200.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/6.003, allocations: 1.524 MB / 2.591 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/6.006, allocations: 342.2 kB / 2.591 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/6.006, allocations: 83.91 kB / 2.591 GB, free: 198.5 MB / 0.698 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 (206): * Single equations (assignments): 205 * 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.0004196/6.007, allocations: 201 kB / 2.591 GB, free: 198.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/6.007, allocations: 138.3 kB / 2.591 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/6.013, allocations: 2.768 MB / 2.594 GB, free: 195.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/6.013, allocations: 20 kB / 2.594 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/6.013, allocations: 8 kB / 2.594 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/6.013, allocations: 11.95 kB / 2.594 GB, free: 195.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006742/6.019, allocations: 4.997 MB / 2.599 GB, free: 190.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/6.019, allocations: 0 / 2.599 GB, free: 190.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/6.022, allocations: 0.5539 MB / 2.599 GB, free: 189.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/6.023, allocations: 88.77 kB / 2.6 GB, free: 189.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/6.023, allocations: 63.92 kB / 2.6 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/6.025, allocations: 1.548 MB / 2.601 GB, free: 188.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/6.025, allocations: 4.031 kB / 2.601 GB, free: 188.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/6.028, allocations: 2.305 MB / 2.603 GB, free: 185.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000879/6.029, allocations: 0.5452 MB / 2.604 GB, free: 185.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/6.03, allocations: 36 kB / 2.604 GB, free: 185.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/6.032, allocations: 263.7 kB / 2.604 GB, free: 184.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/6.032, allocations: 125.8 kB / 2.604 GB, free: 184.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/6.033, allocations: 79.92 kB / 2.604 GB, free: 184.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007957/6.033, allocations: 0.6702 MB / 2.605 GB, free: 184 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.41e-07/6.033, allocations: 0 / 2.605 GB, free: 184 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001744/6.035, allocations: 0.6581 MB / 2.606 GB, free: 183.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 (210): * Single equations (assignments): 207 * 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.001968/6.037, allocations: 1.087 MB / 2.607 GB, free: 182.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003661/6.041, allocations: 2.206 MB / 2.609 GB, free: 180.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/6.041, allocations: 0 / 2.609 GB, free: 180.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/6.043, allocations: 1.289 MB / 2.61 GB, free: 179.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/6.044, allocations: 280.7 kB / 2.61 GB, free: 178.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00528/6.049, allocations: 2.837 MB / 2.613 GB, free: 176 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/6.05, allocations: 1.373 MB / 2.615 GB, free: 174.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003293/6.053, allocations: 0.5617 MB / 2.615 GB, free: 174.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009087/6.054, allocations: 219.2 kB / 2.615 GB, free: 173.9 MB / 0.698 GB Notification: Performance of SimCode: time 8.81e-07/6.054, allocations: 0 / 2.615 GB, free: 173.9 MB / 0.698 GB Notification: Performance of Templates: time 0.04427/6.099, allocations: 35 MB / 2.649 GB, free: 139.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)