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 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.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.7905/0.7905, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001112/0.001112, allocations: 188.6 kB / 191.5 MB, free: 5.75 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.417/1.417, allocations: 223.2 MB / 447.7 MB, free: 4.805 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.001255/0.001255, allocations: 92.27 kB / 0.5188 GB, free: 1.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.00175/0.00175, allocations: 268.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004559, allocations: 15.66 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1746, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.203/3.378, allocations: 1.691 GB / 2.465 GB, free: 109.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/3.378, allocations: 96.33 kB / 2.465 GB, free: 109.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1402/3.518, allocations: 68.68 MB / 2.532 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.226e-06/3.518, allocations: 0 / 2.532 GB, free: 40.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.134e-05/3.518, allocations: 27.94 kB / 2.532 GB, free: 40.26 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001848/3.52, allocations: 1.226 MB / 2.534 GB, free: 38.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/3.52, allocations: 8.031 kB / 2.534 GB, free: 38.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/3.521, allocations: 214.5 kB / 2.534 GB, free: 38.76 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/3.522, allocations: 0.6308 MB / 2.534 GB, free: 38.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.503e-05/3.522, allocations: 66 kB / 2.534 GB, free: 38.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/3.522, allocations: 91.98 kB / 2.535 GB, free: 37.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/3.524, allocations: 0.9371 MB / 2.535 GB, free: 36.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/3.524, allocations: 0 / 2.535 GB, free: 36.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.836e-05/3.524, allocations: 36 kB / 2.535 GB, free: 36.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/3.524, allocations: 24 kB / 2.536 GB, free: 36.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/3.525, allocations: 1.128 MB / 2.537 GB, free: 35.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003384/3.529, allocations: 2.511 MB / 2.539 GB, free: 33.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/3.531, allocations: 0.892 MB / 2.54 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.438e-05/3.531, allocations: 36.67 kB / 2.54 GB, free: 32.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006455/3.531, allocations: 432.5 kB / 2.54 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/3.531, allocations: 0 / 2.54 GB, free: 31.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002699/3.534, allocations: 1.124 MB / 2.541 GB, free: 30.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/3.534, allocations: 240 kB / 2.542 GB, free: 30.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/3.535, allocations: 0.5971 MB / 2.542 GB, free: 29.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/3.535, allocations: 37.7 kB / 2.542 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/3.535, allocations: 400.2 kB / 2.543 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/3.535, allocations: 244.5 kB / 2.543 GB, free: 29.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/3.535, allocations: 16 kB / 2.543 GB, free: 29.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/3.535, allocations: 374.8 kB / 2.543 GB, free: 28.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/3.536, allocations: 233.1 kB / 2.544 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/3.536, allocations: 335.6 kB / 2.544 GB, free: 28.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/3.537, allocations: 267.1 kB / 2.544 GB, free: 27.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/3.537, allocations: 0 / 2.544 GB, free: 27.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00155/3.538, allocations: 0.7392 MB / 2.545 GB, free: 27.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/3.538, allocations: 8 kB / 2.545 GB, free: 27.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/3.538, allocations: 0 / 2.545 GB, free: 27.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/3.539, allocations: 92.75 kB / 2.545 GB, free: 26.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/3.54, allocations: 135.8 kB / 2.545 GB, free: 26.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/3.542, allocations: 1.53 MB / 2.547 GB, free: 25.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009508/3.543, allocations: 91.36 kB / 2.547 GB, free: 25.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.578e-05/3.543, allocations: 27.92 kB / 2.547 GB, free: 25.06 MB / 0.7136 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.0005924/3.544, allocations: 257.8 kB / 2.547 GB, free: 24.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/3.544, allocations: 79.02 kB / 2.547 GB, free: 24.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003523/3.548, allocations: 1.018 MB / 2.548 GB, free: 23.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/3.548, allocations: 12 kB / 2.548 GB, free: 23.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/3.548, allocations: 0 / 2.548 GB, free: 23.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/3.548, allocations: 7.984 kB / 2.548 GB, free: 23.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/3.552, allocations: 1.946 MB / 2.55 GB, free: 21.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/3.552, allocations: 0 / 2.55 GB, free: 21.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009972/3.553, allocations: 143.8 kB / 2.55 GB, free: 21.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008308/3.554, allocations: 88.77 kB / 2.55 GB, free: 21.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/3.554, allocations: 19.98 kB / 2.55 GB, free: 21.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/3.557, allocations: 1.564 MB / 2.552 GB, free: 19.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/3.557, allocations: 0 / 2.552 GB, free: 19.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/3.56, allocations: 0.9375 MB / 2.553 GB, free: 18.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/3.56, allocations: 279.7 kB / 2.553 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/3.56, allocations: 24.06 kB / 2.553 GB, free: 18.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/3.561, allocations: 67.94 kB / 2.553 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/3.562, allocations: 60.92 kB / 2.553 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.281e-05/3.562, allocations: 27.98 kB / 2.553 GB, free: 18.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009037/3.563, allocations: 491 kB / 2.553 GB, free: 17.81 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.7e-07/3.563, allocations: 3.938 kB / 2.554 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001572/3.564, allocations: 367.1 kB / 2.554 GB, free: 17.45 MB / 0.7136 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 (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.002801/3.567, allocations: 1.07 MB / 2.555 GB, free: 16.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002315/3.569, allocations: 0.7478 MB / 2.556 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/3.569, allocations: 3.938 kB / 2.556 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/3.571, allocations: 496.3 kB / 2.556 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/3.572, allocations: 245.8 kB / 2.556 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005818/3.578, allocations: 2.162 MB / 2.558 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/3.579, allocations: 1.039 MB / 2.559 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001487/3.58, allocations: 262.1 kB / 2.56 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/3.581, allocations: 99.39 kB / 2.56 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of SimCode: time 5.51e-07/3.581, allocations: 0 / 2.56 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of Templates: time 0.316/3.897, allocations: 20.44 MB / 2.58 GB, free: 227.9 MB / 0.7136 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)