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.7927/0.7927, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 181 kB / 191.5 MB, free: 5.754 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.46/1.46, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.0008705/0.0008705, allocations: 92.36 kB / 0.5188 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 277.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 10.91 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1674, allocations: 82.79 MB / 0.7737 GB, free: 13.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.641/3.808, allocations: 1.695 GB / 2.469 GB, free: 58.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/3.808, allocations: 94.45 kB / 2.469 GB, free: 58.37 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.5717/4.38, allocations: 100 MB / 2.567 GB, free: 228.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.545e-06/4.38, allocations: 0 / 2.567 GB, free: 228.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001523/4.38, allocations: 50.16 kB / 2.567 GB, free: 228.7 MB / 0.7136 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.00421/4.384, allocations: 2.065 MB / 2.569 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/4.385, allocations: 7.812 kB / 2.569 GB, free: 227.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/4.397, allocations: 1.892 MB / 2.571 GB, free: 227.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/4.4, allocations: 1.053 MB / 2.572 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/4.4, allocations: 150.7 kB / 2.572 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/4.401, allocations: 186.1 kB / 2.572 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007909/4.408, allocations: 3.067 MB / 2.575 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/4.409, allocations: 0 / 2.575 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/4.409, allocations: 81.81 kB / 2.575 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/4.409, allocations: 48.41 kB / 2.575 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/4.421, allocations: 4.167 MB / 2.579 GB, free: 227.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01626/4.437, allocations: 6.759 MB / 2.586 GB, free: 225.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007732/4.445, allocations: 2.697 MB / 2.589 GB, free: 225 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009028/4.446, allocations: 0.5009 MB / 2.589 GB, free: 224.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005646/4.452, allocations: 1.699 MB / 2.591 GB, free: 224 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=195): time 4.729e-06/4.452, allocations: 0 / 2.591 GB, free: 224 MB / 0.7136 GB Notification: Performance of matching and sorting (n=195): time 0.0144/4.466, allocations: 4.238 MB / 2.595 GB, free: 223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/4.466, allocations: 253.7 kB / 2.595 GB, free: 222.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/4.467, allocations: 0.8034 MB / 2.596 GB, free: 222.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002507/4.468, allocations: 55.64 kB / 2.596 GB, free: 222.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/4.468, allocations: 0.6432 MB / 2.597 GB, free: 222 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006645/4.469, allocations: 0.6323 MB / 2.597 GB, free: 221.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/4.469, allocations: 33.69 kB / 2.597 GB, free: 221.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001137/4.469, allocations: 372.3 kB / 2.598 GB, free: 221.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004529/4.474, allocations: 1.171 MB / 2.599 GB, free: 221 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/4.478, allocations: 1.361 MB / 2.6 GB, free: 220.6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/4.482, allocations: 1.221 MB / 2.601 GB, free: 220.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/4.482, allocations: 2.516 kB / 2.601 GB, free: 220.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.009071/4.491, allocations: 2.917 MB / 2.604 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/4.491, allocations: 3.812 kB / 2.604 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/4.491, allocations: 0 / 2.604 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/4.492, allocations: 86.78 kB / 2.604 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/4.496, allocations: 0.5675 MB / 2.605 GB, free: 219.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/4.498, allocations: 1.538 MB / 2.606 GB, free: 218.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/4.501, allocations: 341.5 kB / 2.607 GB, free: 218.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/4.502, allocations: 89.98 kB / 2.607 GB, free: 218.1 MB / 0.7136 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 (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.001195/4.503, allocations: 390.1 kB / 2.607 GB, free: 217.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/4.503, allocations: 135.2 kB / 2.607 GB, free: 217.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/4.514, allocations: 3.523 MB / 2.611 GB, free: 215.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/4.514, allocations: 20 kB / 2.611 GB, free: 215.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/4.514, allocations: 3.984 kB / 2.611 GB, free: 215.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/4.514, allocations: 11.92 kB / 2.611 GB, free: 215.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/4.526, allocations: 5.759 MB / 2.616 GB, free: 211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/4.526, allocations: 4 kB / 2.616 GB, free: 211 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003302/4.53, allocations: 0.5513 MB / 2.617 GB, free: 210.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/4.53, allocations: 92.52 kB / 2.617 GB, free: 210.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/4.53, allocations: 67.88 kB / 2.617 GB, free: 210.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/4.532, allocations: 1.563 MB / 2.619 GB, free: 208.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/4.532, allocations: 7.672 kB / 2.619 GB, free: 208.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008475/4.54, allocations: 3.059 MB / 2.622 GB, free: 205.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/4.541, allocations: 0.5452 MB / 2.622 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002903/4.542, allocations: 40 kB / 2.622 GB, free: 204.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/4.544, allocations: 267.7 kB / 2.622 GB, free: 204.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/4.545, allocations: 125.8 kB / 2.622 GB, free: 204.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/4.545, allocations: 83.92 kB / 2.623 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008547/4.546, allocations: 0.6813 MB / 2.623 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/4.546, allocations: 0 / 2.623 GB, free: 203.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00201/4.548, allocations: 0.6465 MB / 2.624 GB, free: 203.1 MB / 0.7136 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 (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.002026/4.55, allocations: 1.12 MB / 2.625 GB, free: 202.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.008284/4.558, allocations: 2.969 MB / 2.628 GB, free: 199.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/4.558, allocations: 192 / 2.628 GB, free: 199.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004294/4.562, allocations: 1.662 MB / 2.629 GB, free: 197.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/4.564, allocations: 290.8 kB / 2.63 GB, free: 197.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008385/4.572, allocations: 4.645 MB / 2.634 GB, free: 192.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/4.573, allocations: 1.372 MB / 2.636 GB, free: 191.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003443/4.576, allocations: 0.5632 MB / 2.636 GB, free: 190.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009011/4.577, allocations: 211.2 kB / 2.636 GB, free: 190.7 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/4.577, allocations: 0 / 2.636 GB, free: 190.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.04381/4.621, allocations: 33.34 MB / 2.669 GB, free: 157.8 MB / 0.7136 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)