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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7786/0.7786, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.00115, allocations: 178.7 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008819/0.0008819, allocations: 82.38 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001818/0.001818, allocations: 269.8 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.000491, allocations: 19.98 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4358, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.893/5.329, allocations: 2.042 GB / 2.781 GB, free: 167.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/5.329, allocations: 91.95 kB / 2.782 GB, free: 167.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1188/5.448, allocations: 58.75 MB / 2.839 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 4.008e-06/5.448, allocations: 0 / 2.839 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000107/5.448, allocations: 20 kB / 2.839 GB, free: 108.1 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002805/5.451, allocations: 1.136 MB / 2.84 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/5.451, allocations: 11.97 kB / 2.84 GB, free: 106.9 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/5.452, allocations: 191.5 kB / 2.84 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/5.454, allocations: 0.6239 MB / 2.841 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/5.454, allocations: 58.38 kB / 2.841 GB, free: 106 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/5.454, allocations: 72.38 kB / 2.841 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/5.455, allocations: 0.837 MB / 2.842 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/5.455, allocations: 4.188 kB / 2.842 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/5.455, allocations: 35.94 kB / 2.842 GB, free: 105 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/5.455, allocations: 16 kB / 2.842 GB, free: 105 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/5.457, allocations: 1.061 MB / 2.843 GB, free: 103.9 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/5.46, allocations: 2.344 MB / 2.845 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/5.461, allocations: 0.718 MB / 2.846 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/5.461, allocations: 282.4 kB / 2.846 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.294e-05/5.461, allocations: 28.67 kB / 2.846 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006342/5.462, allocations: 423.2 kB / 2.847 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=71): time 4.478e-06/5.462, allocations: 7.984 kB / 2.847 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71): time 0.002549/5.465, allocations: 1.081 MB / 2.848 GB, free: 98.95 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.496e-05/5.465, allocations: 244 kB / 2.848 GB, free: 98.66 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007018/5.465, allocations: 0.633 MB / 2.848 GB, free: 98.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.592e-05/5.465, allocations: 37.7 kB / 2.849 GB, free: 97.97 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/5.466, allocations: 372.3 kB / 2.849 GB, free: 97.6 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/5.466, allocations: 232.5 kB / 2.849 GB, free: 97.37 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/5.466, allocations: 12 kB / 2.849 GB, free: 97.36 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001235/5.466, allocations: 382.7 kB / 2.849 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/5.466, allocations: 217.1 kB / 2.85 GB, free: 96.76 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/5.467, allocations: 327.6 kB / 2.85 GB, free: 96.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008266/5.468, allocations: 0.5269 MB / 2.851 GB, free: 95.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/5.468, allocations: 0 / 2.851 GB, free: 95.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001379/5.469, allocations: 0.712 MB / 2.851 GB, free: 95.16 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/5.469, allocations: 4 kB / 2.851 GB, free: 95.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/5.469, allocations: 0 / 2.851 GB, free: 95.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/5.47, allocations: 84.84 kB / 2.851 GB, free: 95.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005109/5.47, allocations: 143.7 kB / 2.851 GB, free: 94.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/5.472, allocations: 1.52 MB / 2.853 GB, free: 93.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/5.472, allocations: 75.59 kB / 2.853 GB, free: 93.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/5.472, allocations: 27.98 kB / 2.853 GB, free: 93.16 MB / 0.6667 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 () * Number of clocked 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.0004211/5.473, allocations: 245.7 kB / 2.853 GB, free: 92.91 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/5.473, allocations: 79 kB / 2.853 GB, free: 92.83 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/5.475, allocations: 0.9743 MB / 2.854 GB, free: 91.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/5.475, allocations: 11.94 kB / 2.854 GB, free: 91.83 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/5.475, allocations: 8 kB / 2.854 GB, free: 91.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/5.475, allocations: 3.984 kB / 2.854 GB, free: 91.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008224/5.476, allocations: 0.8372 MB / 2.855 GB, free: 90.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/5.476, allocations: 0 / 2.855 GB, free: 90.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/5.476, allocations: 139.8 kB / 2.855 GB, free: 90.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/5.477, allocations: 88.77 kB / 2.855 GB, free: 90.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/5.477, allocations: 19.98 kB / 2.855 GB, free: 90.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/5.478, allocations: 1.544 MB / 2.857 GB, free: 89 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/5.478, allocations: 3.938 kB / 2.857 GB, free: 89 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/5.479, allocations: 0.8226 MB / 2.858 GB, free: 88.15 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/5.48, allocations: 279.8 kB / 2.858 GB, free: 87.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.899e-05/5.48, allocations: 23.94 kB / 2.858 GB, free: 87.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/5.48, allocations: 67.94 kB / 2.858 GB, free: 87.77 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/5.48, allocations: 56.92 kB / 2.858 GB, free: 87.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/5.481, allocations: 31.97 kB / 2.858 GB, free: 87.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004988/5.481, allocations: 475 kB / 2.859 GB, free: 87.23 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/5.481, allocations: 0 / 2.859 GB, free: 87.23 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009579/5.482, allocations: 331.2 kB / 2.859 GB, free: 86.9 MB / 0.6667 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) * Number of clocked states: 0 () * 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.001719/5.484, allocations: 1.023 MB / 2.86 GB, free: 85.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001265/5.485, allocations: 0.7162 MB / 2.861 GB, free: 85.26 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/5.485, allocations: 7.938 kB / 2.861 GB, free: 85.25 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006575/5.486, allocations: 484.2 kB / 2.861 GB, free: 84.77 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/5.487, allocations: 260.9 kB / 2.861 GB, free: 84.52 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/5.49, allocations: 2.013 MB / 2.863 GB, free: 82.47 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/5.49, allocations: 0.9957 MB / 2.864 GB, free: 81.45 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008172/5.491, allocations: 246 kB / 2.864 GB, free: 81.21 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/5.491, allocations: 91.39 kB / 2.865 GB, free: 81.12 MB / 0.6667 GB Notification: Performance of SimCode: time 1.242e-06/5.492, allocations: 3.938 kB / 2.865 GB, free: 81.12 MB / 0.6667 GB Notification: Performance of Templates: time 0.02644/5.518, allocations: 19.93 MB / 2.884 GB, free: 61.26 MB / 0.6667 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)