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.8629/0.8629, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001354/0.001354, allocations: 188.4 kB / 182.2 MB, free: 9.461 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.493/1.493, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001079/0.001078, allocations: 92.11 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 274.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.073e-05/2.081e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.5168, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.449/4.966, allocations: 1.695 GB / 2.452 GB, free: 56.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/4.967, allocations: 89.83 kB / 2.452 GB, free: 56.16 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.647/5.614, allocations: 98.75 MB / 2.549 GB, free: 233.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.714e-06/5.614, allocations: 0 / 2.549 GB, free: 233.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.069e-05/5.614, allocations: 50.02 kB / 2.549 GB, free: 233.3 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.003523/5.617, allocations: 1.914 MB / 2.551 GB, free: 232.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/5.617, allocations: 7.656 kB / 2.551 GB, free: 232.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/5.63, allocations: 1.893 MB / 2.552 GB, free: 231.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/5.632, allocations: 1.045 MB / 2.553 GB, free: 230.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/5.632, allocations: 67.66 kB / 2.553 GB, free: 230.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003057/5.632, allocations: 113.4 kB / 2.554 GB, free: 230.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00479/5.637, allocations: 2.858 MB / 2.556 GB, free: 230.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/5.641, allocations: 2.172 MB / 2.559 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/5.641, allocations: 0 / 2.559 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/5.641, allocations: 3.375 kB / 2.559 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.394e-05/5.641, allocations: 48.34 kB / 2.559 GB, free: 229.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/5.654, allocations: 6.392 MB / 2.565 GB, free: 227.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/5.657, allocations: 1.897 MB / 2.567 GB, free: 226.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/5.658, allocations: 1.005 MB / 2.568 GB, free: 225.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/5.659, allocations: 0.4989 MB / 2.568 GB, free: 225.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/5.66, allocations: 1.268 MB / 2.569 GB, free: 224 MB / 0.698 GB Notification: Performance of pre-optimization done (n=195): time 3.036e-06/5.66, allocations: 4 kB / 2.569 GB, free: 224 MB / 0.698 GB Notification: Performance of matching and sorting (n=195): time 0.01129/5.672, allocations: 3.65 MB / 2.573 GB, free: 220.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/5.672, allocations: 253.3 kB / 2.573 GB, free: 220 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/5.673, allocations: 0.633 MB / 2.574 GB, free: 219.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/5.673, allocations: 25.7 kB / 2.574 GB, free: 219.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004055/5.673, allocations: 0.6489 MB / 2.574 GB, free: 218.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/5.674, allocations: 0.6118 MB / 2.575 GB, free: 218 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/5.674, allocations: 0 / 2.575 GB, free: 218 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001075/5.674, allocations: 422.7 kB / 2.575 GB, free: 217.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/5.675, allocations: 0.7655 MB / 2.576 GB, free: 216.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/5.676, allocations: 0.9442 MB / 2.577 GB, free: 215.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008589/5.685, allocations: 2.454 MB / 2.58 GB, free: 213.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/5.685, allocations: 0 / 2.58 GB, free: 213.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01161/5.696, allocations: 3.689 MB / 2.583 GB, free: 209.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/5.696, allocations: 8.547 kB / 2.583 GB, free: 209.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/5.696, allocations: 4.156 kB / 2.583 GB, free: 209.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/5.697, allocations: 84.77 kB / 2.583 GB, free: 209.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003388/5.7, allocations: 0.5709 MB / 2.584 GB, free: 209.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/5.702, allocations: 1.449 MB / 2.585 GB, free: 207.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/5.705, allocations: 302.4 kB / 2.585 GB, free: 207.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002419/5.705, allocations: 89.7 kB / 2.586 GB, free: 207.1 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.0004712/5.705, allocations: 132.9 kB / 2.586 GB, free: 207 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/5.706, allocations: 122.5 kB / 2.586 GB, free: 206.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/5.719, allocations: 4.263 MB / 2.59 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/5.719, allocations: 20 kB / 2.59 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/5.719, allocations: 2.375 kB / 2.59 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/5.719, allocations: 7.969 kB / 2.59 GB, free: 202.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/5.733, allocations: 6.27 MB / 2.596 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/5.733, allocations: 4 kB / 2.596 GB, free: 196.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003255/5.736, allocations: 0.5541 MB / 2.597 GB, free: 195.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/5.737, allocations: 84.78 kB / 2.597 GB, free: 195.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/5.737, allocations: 47.91 kB / 2.597 GB, free: 195.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/5.738, allocations: 1.487 MB / 2.598 GB, free: 194.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/5.738, allocations: 8.016 kB / 2.598 GB, free: 194.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01145/5.75, allocations: 3.833 MB / 2.602 GB, free: 190.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/5.751, allocations: 0.5336 MB / 2.603 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002822/5.751, allocations: 0 / 2.603 GB, free: 189.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00256/5.754, allocations: 234.5 kB / 2.603 GB, free: 189.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/5.754, allocations: 125.8 kB / 2.603 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001785/5.754, allocations: 79.92 kB / 2.603 GB, free: 189.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005967/5.755, allocations: 0.5343 MB / 2.603 GB, free: 188.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/5.755, allocations: 0 / 2.603 GB, free: 188.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001739/5.756, allocations: 0.5876 MB / 2.604 GB, free: 188.1 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.00179/5.758, allocations: 1.119 MB / 2.605 GB, free: 187.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00292/5.761, allocations: 2.121 MB / 2.607 GB, free: 185.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/5.761, allocations: 0 / 2.607 GB, free: 185.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/5.763, allocations: 1.241 MB / 2.608 GB, free: 184 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/5.764, allocations: 234.1 kB / 2.609 GB, free: 183.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005004/5.769, allocations: 2.722 MB / 2.611 GB, free: 181 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/5.77, allocations: 1.369 MB / 2.613 GB, free: 179.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003421/5.773, allocations: 0.5511 MB / 2.613 GB, free: 179.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009556/5.774, allocations: 211.2 kB / 2.613 GB, free: 178.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.773e-06/5.774, allocations: 0 / 2.613 GB, free: 178.9 MB / 0.698 GB Notification: Performance of Templates: time 0.0389/5.813, allocations: 28.06 MB / 2.641 GB, free: 151.2 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)