Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.813/1.813, allocations: 293 MB / 309 MB, free: 4.855 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 176.5 kB / 378.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.4 MB / 0.6383 GB, free: 8.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009855/0.0009858, allocations: 88.39 kB / 0.7527 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004522, allocations: 12 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 116.4 MB / 0.9904 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.029/5.352, allocations: 2.075 GB / 3.066 GB, free: 140.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/5.353, allocations: 93.12 kB / 3.066 GB, free: 140.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2165/5.569, allocations: 83.55 MB / 3.148 GB, free: 57.03 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.416e-06/5.569, allocations: 0 / 3.148 GB, free: 57.03 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001432/5.569, allocations: 35.94 kB / 3.148 GB, free: 57 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.003537/5.573, allocations: 1.415 MB / 3.149 GB, free: 55.52 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/5.573, allocations: 8.031 kB / 3.149 GB, free: 55.51 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/5.574, allocations: 227.1 kB / 3.149 GB, free: 55.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/5.576, allocations: 0.7801 MB / 3.15 GB, free: 54.47 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/5.576, allocations: 124.6 kB / 3.15 GB, free: 54.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/5.576, allocations: 112.4 kB / 3.15 GB, free: 54.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/5.578, allocations: 1.237 MB / 3.151 GB, free: 52.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/5.579, allocations: 7.922 kB / 3.151 GB, free: 52.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/5.579, allocations: 55.94 kB / 3.152 GB, free: 52.87 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/5.579, allocations: 28 kB / 3.152 GB, free: 52.84 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/5.581, allocations: 1.359 MB / 3.153 GB, free: 51.47 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/5.586, allocations: 3.359 MB / 3.156 GB, free: 48.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/5.587, allocations: 0.9119 MB / 3.157 GB, free: 47.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000504/5.588, allocations: 367.7 kB / 3.157 GB, free: 46.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/5.588, allocations: 48.95 kB / 3.157 GB, free: 46.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008058/5.589, allocations: 0.5436 MB / 3.158 GB, free: 46.15 MB / 0.948 GB Notification: Performance of pre-optimization done (n=93): time 2.895e-06/5.589, allocations: 0 / 3.158 GB, free: 46.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=93): time 0.003207/5.592, allocations: 1.395 MB / 3.159 GB, free: 44.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/5.592, allocations: 252.3 kB / 3.16 GB, free: 44.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/5.593, allocations: 0.7861 MB / 3.16 GB, free: 43.63 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/5.593, allocations: 41.7 kB / 3.16 GB, free: 43.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005/5.594, allocations: 0.5153 MB / 3.161 GB, free: 43.06 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/5.594, allocations: 311.5 kB / 3.161 GB, free: 42.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/5.594, allocations: 16 kB / 3.161 GB, free: 42.73 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001144/5.594, allocations: 338 kB / 3.162 GB, free: 42.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005024/5.595, allocations: 305.8 kB / 3.162 GB, free: 42.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/5.595, allocations: 444.2 kB / 3.162 GB, free: 41.63 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/5.597, allocations: 0.7414 MB / 3.163 GB, free: 40.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/5.597, allocations: 0 / 3.163 GB, free: 40.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00209/5.599, allocations: 0.9698 MB / 3.164 GB, free: 39.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/5.599, allocations: 7.938 kB / 3.164 GB, free: 39.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/5.599, allocations: 4 kB / 3.164 GB, free: 39.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/5.599, allocations: 84.83 kB / 3.164 GB, free: 39.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/5.6, allocations: 195.7 kB / 3.164 GB, free: 39.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002017/5.602, allocations: 1.532 MB / 3.166 GB, free: 37.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009407/5.603, allocations: 103.2 kB / 3.166 GB, free: 37.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/5.603, allocations: 39.97 kB / 3.166 GB, free: 37.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (102): * Single equations (assignments): 101 * 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.0008984/5.604, allocations: 305.5 kB / 3.166 GB, free: 37.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/5.605, allocations: 90.88 kB / 3.166 GB, free: 37.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/5.607, allocations: 1.29 MB / 3.167 GB, free: 36.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/5.607, allocations: 19.98 kB / 3.167 GB, free: 36.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/5.607, allocations: 0 / 3.167 GB, free: 36.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/5.607, allocations: 7.922 kB / 3.167 GB, free: 36.07 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003928/5.611, allocations: 2.462 MB / 3.17 GB, free: 33.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/5.611, allocations: 0 / 3.17 GB, free: 33.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000646/5.612, allocations: 179.8 kB / 3.17 GB, free: 33.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/5.612, allocations: 92.7 kB / 3.17 GB, free: 33.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/5.613, allocations: 23.98 kB / 3.17 GB, free: 33.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/5.614, allocations: 1.556 MB / 3.172 GB, free: 31.55 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/5.614, allocations: 3.938 kB / 3.172 GB, free: 31.55 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/5.616, allocations: 1.117 MB / 3.173 GB, free: 30.41 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/5.617, allocations: 355.2 kB / 3.173 GB, free: 30.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/5.617, allocations: 24 kB / 3.173 GB, free: 30.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/5.618, allocations: 71.94 kB / 3.173 GB, free: 29.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/5.618, allocations: 72.89 kB / 3.173 GB, free: 29.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.025e-05/5.618, allocations: 43.91 kB / 3.173 GB, free: 29.84 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008155/5.619, allocations: 0.581 MB / 3.174 GB, free: 29.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.619, allocations: 0 / 3.174 GB, free: 29.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001276/5.62, allocations: 414.8 kB / 3.174 GB, free: 28.86 MB / 0.948 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 (107): * Single equations (assignments): 104 * 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.001913/5.622, allocations: 1.034 MB / 3.175 GB, free: 27.94 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001767/5.624, allocations: 0.9295 MB / 3.176 GB, free: 27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/5.624, allocations: 0 / 3.176 GB, free: 27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009444/5.625, allocations: 0.5784 MB / 3.177 GB, free: 26.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/5.626, allocations: 266.2 kB / 3.177 GB, free: 26.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/5.631, allocations: 2.73 MB / 3.18 GB, free: 23.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/5.632, allocations: 1.118 MB / 3.181 GB, free: 22.24 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001158/5.633, allocations: 311.4 kB / 3.181 GB, free: 21.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/5.633, allocations: 115.4 kB / 3.181 GB, free: 21.82 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/5.633, allocations: 0 / 3.181 GB, free: 21.82 MB / 0.948 GB Notification: Performance of Templates: time 0.5419/6.175, allocations: 23.09 MB / 3.204 GB, free: 241.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)