Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8046/0.8046, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.00106/0.00106, allocations: 180.7 kB / 182.2 MB, free: 9.457 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.549/1.549, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.001037/0.001038, allocations: 83.55 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001916, allocations: 281.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.786e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5319, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.312/4.844, allocations: 1.693 GB / 2.45 GB, free: 93.62 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/4.844, allocations: 87.83 kB / 2.45 GB, free: 93.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1693/5.013, allocations: 83.21 MB / 2.532 GB, free: 10.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.743e-06/5.013, allocations: 0 / 2.532 GB, free: 10.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.384e-05/5.014, allocations: 32 kB / 2.532 GB, free: 9.996 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.002023/5.016, allocations: 1.314 MB / 2.533 GB, free: 8.629 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/5.016, allocations: 16.03 kB / 2.533 GB, free: 8.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/5.016, allocations: 222 kB / 2.533 GB, free: 8.395 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/5.017, allocations: 0.7599 MB / 2.534 GB, free: 7.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.383e-05/5.018, allocations: 80.19 kB / 2.534 GB, free: 7.504 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/5.018, allocations: 68 kB / 2.534 GB, free: 7.438 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001558/5.019, allocations: 1.266 MB / 2.535 GB, free: 6.168 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/5.021, allocations: 1.058 MB / 2.536 GB, free: 5.051 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/5.021, allocations: 0 / 2.536 GB, free: 5.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/5.021, allocations: 4 kB / 2.536 GB, free: 5.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/5.021, allocations: 28 kB / 2.536 GB, free: 5.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004547/5.025, allocations: 3.322 MB / 2.539 GB, free: 1.641 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/5.026, allocations: 0.8164 MB / 2.54 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/5.027, allocations: 331.1 kB / 2.541 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.671e-05/5.027, allocations: 41.73 kB / 2.541 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4679/5.495, allocations: 497.7 kB / 2.541 GB, free: 230.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 5.731e-06/5.495, allocations: 0 / 2.541 GB, free: 230.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.002544/5.497, allocations: 0.8281 MB / 2.542 GB, free: 230.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/5.498, allocations: 247.1 kB / 2.542 GB, free: 230.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009973/5.499, allocations: 0.5736 MB / 2.543 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/5.499, allocations: 27.42 kB / 2.543 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004998/5.499, allocations: 0.5169 MB / 2.543 GB, free: 230 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/5.499, allocations: 298 kB / 2.544 GB, free: 229.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/5.499, allocations: 0 / 2.544 GB, free: 229.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001465/5.5, allocations: 389.7 kB / 2.544 GB, free: 229.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/5.5, allocations: 267.7 kB / 2.544 GB, free: 229.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/5.501, allocations: 395.9 kB / 2.545 GB, free: 229.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/5.501, allocations: 336.3 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/5.501, allocations: 5.656 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001902/5.503, allocations: 0.8677 MB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/5.503, allocations: 9.953 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/5.503, allocations: 0.8125 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/5.504, allocations: 90.47 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/5.505, allocations: 187.9 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/5.506, allocations: 1.467 MB / 2.547 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006737/5.507, allocations: 70.33 kB / 2.547 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.921e-05/5.507, allocations: 36.66 kB / 2.548 GB, free: 228.1 MB / 0.698 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 () * 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.0001951/5.507, allocations: 121.2 kB / 2.548 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/5.508, allocations: 88.47 kB / 2.548 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/5.51, allocations: 1.194 MB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/5.51, allocations: 13.06 kB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/5.51, allocations: 0 / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/5.51, allocations: 5.859 kB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003859/5.514, allocations: 2.2 MB / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/5.514, allocations: 1.062 kB / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/5.515, allocations: 181.6 kB / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/5.516, allocations: 85.69 kB / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.431e-05/5.516, allocations: 21.08 kB / 2.551 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/5.517, allocations: 1.492 MB / 2.553 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/5.517, allocations: 1.406 kB / 2.553 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/5.519, allocations: 1.011 MB / 2.554 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/5.52, allocations: 347.1 kB / 2.554 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/5.52, allocations: 4 kB / 2.554 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/5.521, allocations: 58.98 kB / 2.554 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/5.521, allocations: 75.55 kB / 2.554 GB, free: 225.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.028e-05/5.521, allocations: 39.05 kB / 2.554 GB, free: 225.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006485/5.522, allocations: 491.7 kB / 2.555 GB, free: 225.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.522, allocations: 0 / 2.555 GB, free: 225.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001339/5.523, allocations: 409.5 kB / 2.555 GB, free: 225.7 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 (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.001768/5.525, allocations: 1.084 MB / 2.556 GB, free: 225.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001353/5.526, allocations: 0.8349 MB / 2.557 GB, free: 225.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/5.526, allocations: 1.594 kB / 2.557 GB, free: 225.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006852/5.527, allocations: 0.5336 MB / 2.558 GB, free: 225.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/5.528, allocations: 232.5 kB / 2.558 GB, free: 225.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/5.531, allocations: 1.651 MB / 2.559 GB, free: 224.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/5.532, allocations: 1.151 MB / 2.56 GB, free: 224.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008674/5.533, allocations: 283.1 kB / 2.561 GB, free: 224.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/5.533, allocations: 116.2 kB / 2.561 GB, free: 224.2 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/5.533, allocations: 0 / 2.561 GB, free: 224.2 MB / 0.698 GB Notification: Performance of Templates: time 0.02608/5.559, allocations: 18.17 MB / 2.579 GB, free: 222.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)