Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9957/0.9957, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001016/0.001016, allocations: 176.8 kB / 182.2 MB, free: 9.426 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.334/1.334, allocations: 221.5 MB / 436.4 MB, free: 13.25 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.0008845/0.0008844, allocations: 85.8 kB / 0.5074 GB, free: 10.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 275.5 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.497e-05, allocations: 4 kB / 0.6765 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.4255, allocations: 82.78 MB / 0.7574 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.245/4.671, allocations: 1.691 GB / 2.448 GB, free: 95.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/4.671, allocations: 98.91 kB / 2.448 GB, free: 95.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1214/4.793, allocations: 57.92 MB / 2.505 GB, free: 37.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/4.793, allocations: 4 kB / 2.505 GB, free: 37.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.444e-05/4.793, allocations: 20 kB / 2.505 GB, free: 37.43 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001756/4.794, allocations: 1.066 MB / 2.506 GB, free: 36.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/4.794, allocations: 8.031 kB / 2.506 GB, free: 36.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008342/4.795, allocations: 186.5 kB / 2.506 GB, free: 36.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008264/4.796, allocations: 0.6075 MB / 2.506 GB, free: 35.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/4.796, allocations: 24 kB / 2.506 GB, free: 35.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/4.796, allocations: 44 kB / 2.506 GB, free: 35.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001179/4.797, allocations: 0.9679 MB / 2.507 GB, free: 34.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009704/4.798, allocations: 0.7115 MB / 2.508 GB, free: 33.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/4.798, allocations: 0 / 2.508 GB, free: 33.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/4.798, allocations: 0 / 2.508 GB, free: 33.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/4.799, allocations: 23.98 kB / 2.508 GB, free: 33.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/4.801, allocations: 2.232 MB / 2.51 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/4.802, allocations: 0.6311 MB / 2.511 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/4.802, allocations: 234.5 kB / 2.511 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/4.802, allocations: 24.67 kB / 2.511 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/4.803, allocations: 383.6 kB / 2.512 GB, free: 30.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=71): time 2.054e-06/4.803, allocations: 0 / 2.512 GB, free: 30.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=71): time 0.001367/4.804, allocations: 0.6368 MB / 2.512 GB, free: 29.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/4.804, allocations: 244.1 kB / 2.512 GB, free: 29.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/4.805, allocations: 0.4983 MB / 2.513 GB, free: 28.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/4.805, allocations: 25.7 kB / 2.513 GB, free: 28.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/4.805, allocations: 384.1 kB / 2.513 GB, free: 28.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/4.805, allocations: 216.7 kB / 2.513 GB, free: 28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/4.805, allocations: 0 / 2.513 GB, free: 28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/4.806, allocations: 382.7 kB / 2.514 GB, free: 27.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/4.806, allocations: 181.5 kB / 2.514 GB, free: 27.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/4.806, allocations: 287.5 kB / 2.514 GB, free: 27.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/4.806, allocations: 228.5 kB / 2.515 GB, free: 26.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/4.806, allocations: 4 kB / 2.515 GB, free: 26.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001217/4.808, allocations: 0.6329 MB / 2.515 GB, free: 26.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/4.808, allocations: 5.719 kB / 2.515 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/4.808, allocations: 8.062 kB / 2.515 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/4.808, allocations: 84.72 kB / 2.515 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/4.809, allocations: 135.8 kB / 2.515 GB, free: 26.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/4.81, allocations: 1.446 MB / 2.517 GB, free: 24.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004668/4.811, allocations: 71.47 kB / 2.517 GB, free: 24.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/4.811, allocations: 35.97 kB / 2.517 GB, free: 24.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (74): * Single equations (assignments): 73 * 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.0001441/4.811, allocations: 108.9 kB / 2.517 GB, free: 24.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/4.811, allocations: 75.09 kB / 2.517 GB, free: 24.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/4.813, allocations: 0.8674 MB / 2.518 GB, free: 23.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/4.813, allocations: 8 kB / 2.518 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/4.813, allocations: 0 / 2.518 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/4.813, allocations: 3.984 kB / 2.518 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/4.814, allocations: 0.7243 MB / 2.519 GB, free: 22.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/4.814, allocations: 0 / 2.519 GB, free: 22.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/4.814, allocations: 143.8 kB / 2.519 GB, free: 22.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/4.814, allocations: 88.72 kB / 2.519 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/4.815, allocations: 15.94 kB / 2.519 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/4.816, allocations: 1.477 MB / 2.52 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/4.816, allocations: 7.969 kB / 2.52 GB, free: 20.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/4.817, allocations: 0.7348 MB / 2.521 GB, free: 19.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/4.817, allocations: 267.9 kB / 2.521 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/4.818, allocations: 3.984 kB / 2.521 GB, free: 19.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/4.818, allocations: 51.95 kB / 2.521 GB, free: 19.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/4.818, allocations: 56.7 kB / 2.521 GB, free: 19.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/4.818, allocations: 35.97 kB / 2.521 GB, free: 19.47 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000404/4.819, allocations: 402.8 kB / 2.522 GB, free: 19.08 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/4.819, allocations: 0 / 2.522 GB, free: 19.08 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009978/4.82, allocations: 327 kB / 2.522 GB, free: 18.76 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001747/4.821, allocations: 1.08 MB / 2.523 GB, free: 17.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009381/4.822, allocations: 0.6359 MB / 2.524 GB, free: 17.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/4.822, allocations: 3.938 kB / 2.524 GB, free: 17.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/4.823, allocations: 432.5 kB / 2.524 GB, free: 16.67 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009619/4.824, allocations: 226.9 kB / 2.524 GB, free: 16.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/4.827, allocations: 1.254 MB / 2.526 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/4.827, allocations: 1.019 MB / 2.527 GB, free: 14.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007216/4.828, allocations: 245.7 kB / 2.527 GB, free: 13.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/4.828, allocations: 95.39 kB / 2.527 GB, free: 13.78 MB / 0.698 GB Notification: Performance of SimCode: time 3.9e-07/4.828, allocations: 0 / 2.527 GB, free: 13.78 MB / 0.698 GB Notification: Performance of Templates: time 0.4572/5.285, allocations: 15.29 MB / 2.542 GB, free: 233.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)