Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8198/0.8198, allocations: 140.1 MB / 156 MB, free: 5.164 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.001131/0.001131, allocations: 184.5 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.786/1.786, 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.0009726/0.0009726, allocations: 94.31 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001832/0.001831, allocations: 265.6 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 23.98 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4551/0.4556, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.369/4.825, allocations: 2.042 GB / 2.782 GB, free: 167.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/4.825, allocations: 95.94 kB / 2.782 GB, free: 167.4 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1315/4.956, allocations: 63.84 MB / 2.844 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.545e-06/4.956, allocations: 0 / 2.844 GB, free: 103.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001051/4.957, allocations: 23.94 kB / 2.844 GB, free: 103.2 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002506/4.959, allocations: 1.128 MB / 2.845 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/4.959, allocations: 12.03 kB / 2.845 GB, free: 102 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/4.96, allocations: 207.5 kB / 2.845 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/4.961, allocations: 0.6317 MB / 2.846 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/4.961, allocations: 58.38 kB / 2.846 GB, free: 101.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/4.962, allocations: 76.38 kB / 2.846 GB, free: 101 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/4.963, allocations: 0.8681 MB / 2.847 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/4.963, allocations: 4.125 kB / 2.847 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/4.963, allocations: 39.88 kB / 2.847 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/4.963, allocations: 20 kB / 2.847 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/4.965, allocations: 1.089 MB / 2.848 GB, free: 98.98 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/4.968, allocations: 2.414 MB / 2.85 GB, free: 96.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/4.97, allocations: 0.8235 MB / 2.851 GB, free: 95.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/4.971, allocations: 298.6 kB / 2.851 GB, free: 95.37 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/4.971, allocations: 32.67 kB / 2.852 GB, free: 95.34 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000709/4.972, allocations: 451.2 kB / 2.852 GB, free: 94.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=73): time 3.256e-06/4.972, allocations: 0 / 2.852 GB, free: 94.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73): time 0.002734/4.974, allocations: 1.139 MB / 2.853 GB, free: 93.71 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/4.974, allocations: 244 kB / 2.853 GB, free: 93.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007314/4.975, allocations: 0.6368 MB / 2.854 GB, free: 92.77 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/4.975, allocations: 37.7 kB / 2.854 GB, free: 92.72 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/4.975, allocations: 368.3 kB / 2.854 GB, free: 92.36 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/4.976, allocations: 240.5 kB / 2.855 GB, free: 92.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/4.976, allocations: 16 kB / 2.855 GB, free: 92.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001035/4.976, allocations: 382.7 kB / 2.855 GB, free: 91.72 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/4.976, allocations: 237.1 kB / 2.855 GB, free: 91.49 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/4.977, allocations: 339.6 kB / 2.855 GB, free: 91.13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/4.978, allocations: 0.562 MB / 2.856 GB, free: 90.56 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/4.978, allocations: 3.984 kB / 2.856 GB, free: 90.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001591/4.979, allocations: 0.7432 MB / 2.857 GB, free: 89.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/4.979, allocations: 8 kB / 2.857 GB, free: 89.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/4.979, allocations: 0 / 2.857 GB, free: 89.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/4.98, allocations: 84.83 kB / 2.857 GB, free: 89.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/4.98, allocations: 143.7 kB / 2.857 GB, free: 89.57 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/4.982, allocations: 1.538 MB / 2.858 GB, free: 87.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/4.983, allocations: 83.42 kB / 2.859 GB, free: 87.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/4.983, allocations: 27.98 kB / 2.859 GB, free: 87.77 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 (75): * Single equations (assignments): 74 * 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.0004099/4.983, allocations: 253.7 kB / 2.859 GB, free: 87.52 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/4.983, allocations: 75.09 kB / 2.859 GB, free: 87.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/4.985, allocations: 1.033 MB / 2.86 GB, free: 86.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/4.985, allocations: 11.94 kB / 2.86 GB, free: 86.39 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/4.985, allocations: 0 / 2.86 GB, free: 86.39 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/4.986, allocations: 7.984 kB / 2.86 GB, free: 86.38 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009572/4.986, allocations: 0.8801 MB / 2.861 GB, free: 85.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/4.986, allocations: 0 / 2.861 GB, free: 85.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/4.987, allocations: 151.8 kB / 2.861 GB, free: 85.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/4.988, allocations: 80.78 kB / 2.861 GB, free: 85.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/4.988, allocations: 27.97 kB / 2.861 GB, free: 85.19 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/4.989, allocations: 1.552 MB / 2.863 GB, free: 83.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/4.989, allocations: 4 kB / 2.863 GB, free: 83.49 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/4.991, allocations: 0.8733 MB / 2.863 GB, free: 82.59 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/4.991, allocations: 291.7 kB / 2.864 GB, free: 82.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/4.991, allocations: 20 kB / 2.864 GB, free: 82.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/4.992, allocations: 67.94 kB / 2.864 GB, free: 82.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/4.992, allocations: 56.92 kB / 2.864 GB, free: 82.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.017e-05/4.992, allocations: 35.97 kB / 2.864 GB, free: 82.11 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005426/4.992, allocations: 475 kB / 2.864 GB, free: 81.66 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/4.992, allocations: 0 / 2.864 GB, free: 81.66 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001044/4.993, allocations: 327.3 kB / 2.865 GB, free: 81.34 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 (85): * Single equations (assignments): 82 * 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.001767/4.995, allocations: 1.02 MB / 2.866 GB, free: 80.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001493/4.997, allocations: 0.7628 MB / 2.866 GB, free: 79.66 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/4.997, allocations: 0 / 2.866 GB, free: 79.66 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007715/4.998, allocations: 0.5003 MB / 2.867 GB, free: 79.14 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/4.999, allocations: 253.1 kB / 2.867 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/5.002, allocations: 2.077 MB / 2.869 GB, free: 76.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/5.003, allocations: 0.9996 MB / 2.87 GB, free: 75.77 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009244/5.004, allocations: 258 kB / 2.87 GB, free: 75.52 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/5.004, allocations: 103.4 kB / 2.87 GB, free: 75.41 MB / 0.6667 GB Notification: Performance of SimCode: time 6.61e-07/5.004, allocations: 0 / 2.87 GB, free: 75.41 MB / 0.6667 GB Notification: Performance of Templates: time 0.02974/5.034, allocations: 20.44 MB / 2.89 GB, free: 55.05 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)