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.7945/0.7945, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.0009895/0.0009896, allocations: 180.8 kB / 182.2 MB, free: 9.438 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.774/1.774, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.001049/0.001049, allocations: 101.5 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001802, allocations: 279.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.024e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5096, allocations: 82.77 MB / 0.7573 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.529/5.038, allocations: 1.693 GB / 2.45 GB, free: 93.55 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/5.039, allocations: 95.58 kB / 2.45 GB, free: 93.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1778/5.216, allocations: 83.2 MB / 2.532 GB, free: 9.969 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/5.216, allocations: 4 kB / 2.532 GB, free: 9.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001229/5.217, allocations: 32 kB / 2.532 GB, free: 9.934 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.003246/5.22, allocations: 1.318 MB / 2.533 GB, free: 8.562 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/5.22, allocations: 8.031 kB / 2.533 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/5.221, allocations: 234 kB / 2.533 GB, free: 8.324 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/5.223, allocations: 0.7444 MB / 2.534 GB, free: 7.535 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/5.223, allocations: 84.17 kB / 2.534 GB, free: 7.445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/5.223, allocations: 72 kB / 2.534 GB, free: 7.375 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002009/5.225, allocations: 1.266 MB / 2.535 GB, free: 6.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/5.227, allocations: 1.058 MB / 2.536 GB, free: 4.988 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/5.227, allocations: 3.938 kB / 2.536 GB, free: 4.984 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/5.227, allocations: 0 / 2.536 GB, free: 4.984 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/5.227, allocations: 35.98 kB / 2.536 GB, free: 4.949 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004771/5.232, allocations: 3.318 MB / 2.539 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000982/5.233, allocations: 0.8086 MB / 2.54 GB, free: 0.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/5.234, allocations: 319.1 kB / 2.541 GB, free: 448 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-05/5.234, allocations: 49.77 kB / 2.541 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4568/5.69, allocations: 499 kB / 2.541 GB, free: 230.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=93): time 3.928e-06/5.691, allocations: 1.062 kB / 2.541 GB, free: 230.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=93): time 0.002394/5.693, allocations: 0.8252 MB / 2.542 GB, free: 230.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/5.693, allocations: 249.1 kB / 2.542 GB, free: 230.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009382/5.694, allocations: 0.571 MB / 2.543 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/5.694, allocations: 31.3 kB / 2.543 GB, free: 230.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004544/5.694, allocations: 0.5154 MB / 2.543 GB, free: 230 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/5.695, allocations: 295.9 kB / 2.544 GB, free: 229.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/5.695, allocations: 0.8438 kB / 2.544 GB, free: 229.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001495/5.695, allocations: 393.4 kB / 2.544 GB, free: 229.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000469/5.695, allocations: 268 kB / 2.544 GB, free: 229.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/5.696, allocations: 393.3 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005843/5.697, allocations: 342.3 kB / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/5.697, allocations: 0 / 2.545 GB, free: 229.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.001831/5.698, allocations: 0.8703 MB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/5.698, allocations: 5.5 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/5.698, allocations: 1.281 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006064/5.699, allocations: 88.42 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/5.7, allocations: 191.5 kB / 2.546 GB, free: 229.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/5.702, allocations: 1.471 MB / 2.547 GB, free: 228.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/5.702, allocations: 73.38 kB / 2.547 GB, free: 228 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/5.702, allocations: 37.89 kB / 2.548 GB, free: 228 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.0001692/5.703, allocations: 119 kB / 2.548 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/5.703, allocations: 87.81 kB / 2.548 GB, free: 227.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/5.705, allocations: 1.19 MB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/5.705, allocations: 11.52 kB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/5.705, allocations: 1.219 kB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/5.705, allocations: 5.719 kB / 2.549 GB, free: 227.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/5.709, allocations: 2.201 MB / 2.551 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/5.709, allocations: 3.438 kB / 2.551 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007425/5.71, allocations: 177.8 kB / 2.551 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004904/5.71, allocations: 90.44 kB / 2.551 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/5.71, allocations: 17.19 kB / 2.551 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/5.712, allocations: 1.492 MB / 2.553 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/5.712, allocations: 4.734 kB / 2.553 GB, free: 226.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/5.714, allocations: 1.012 MB / 2.554 GB, free: 226 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004659/5.714, allocations: 343.3 kB / 2.554 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/5.714, allocations: 1.906 kB / 2.554 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/5.715, allocations: 62.23 kB / 2.554 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/5.715, allocations: 75.92 kB / 2.554 GB, free: 225.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.942e-05/5.715, allocations: 36.47 kB / 2.554 GB, free: 225.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005975/5.716, allocations: 489.9 kB / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.716, allocations: 0 / 2.555 GB, free: 225.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00114/5.717, allocations: 412.6 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.001673/5.719, allocations: 1.081 MB / 2.556 GB, free: 225.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001203/5.72, allocations: 0.8342 MB / 2.557 GB, free: 225.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/5.72, allocations: 0 / 2.557 GB, free: 225.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000663/5.721, allocations: 0.5379 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.0009972/5.722, allocations: 231.1 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.003164/5.725, allocations: 1.659 MB / 2.559 GB, free: 224.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/5.725, allocations: 1.142 MB / 2.56 GB, free: 224.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007766/5.726, allocations: 281.1 kB / 2.561 GB, free: 224.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/5.726, allocations: 123.9 kB / 2.561 GB, free: 224.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/5.726, allocations: 0 / 2.561 GB, free: 224.1 MB / 0.698 GB Notification: Performance of Templates: time 0.02544/5.752, allocations: 18.17 MB / 2.579 GB, free: 222.7 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)