Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.218/2.218, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001371/0.001371, allocations: 178.8 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.392/2.392, allocations: 205.4 MB / 0.5772 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009373/0.0009373, allocations: 87.55 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004949, allocations: 11.22 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.333/7.544, allocations: 2.19 GB / 3.09 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/7.544, allocations: 103.9 kB / 3.09 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2413/7.786, allocations: 63.44 MB / 3.152 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.597e-06/7.786, allocations: 0 / 3.152 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.208e-05/7.786, allocations: 19.53 kB / 3.152 GB, free: 243.1 MB / 0.8855 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.00315/7.789, allocations: 1.146 MB / 3.153 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/7.789, allocations: 11.75 kB / 3.153 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/7.791, allocations: 197.9 kB / 3.153 GB, free: 242.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/7.793, allocations: 0.6135 MB / 3.153 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/7.793, allocations: 57.53 kB / 3.154 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/7.793, allocations: 75.84 kB / 3.154 GB, free: 242 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/7.795, allocations: 0.8651 MB / 3.154 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/7.795, allocations: 192 / 3.154 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/7.795, allocations: 45.12 kB / 3.155 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/7.795, allocations: 19.53 kB / 3.155 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/7.798, allocations: 1.083 MB / 3.156 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005691/7.804, allocations: 2.427 MB / 3.158 GB, free: 241 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/7.807, allocations: 0.8172 MB / 3.159 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008511/7.808, allocations: 303.9 kB / 3.159 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/7.808, allocations: 35.23 kB / 3.159 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/7.809, allocations: 448.7 kB / 3.16 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.717e-06/7.809, allocations: 0 / 3.16 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.005076/7.815, allocations: 1.139 MB / 3.161 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/7.815, allocations: 243.8 kB / 3.161 GB, free: 240.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/7.816, allocations: 0.6323 MB / 3.161 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/7.816, allocations: 44.77 kB / 3.162 GB, free: 240.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/7.816, allocations: 361.7 kB / 3.162 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/7.817, allocations: 254 kB / 3.162 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/7.817, allocations: 11.75 kB / 3.162 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001301/7.817, allocations: 384.7 kB / 3.162 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008087/7.818, allocations: 231.2 kB / 3.163 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009163/7.819, allocations: 340 kB / 3.163 GB, free: 239.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008863/7.82, allocations: 290.2 kB / 3.163 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/7.82, allocations: 0 / 3.163 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00302/7.823, allocations: 0.7462 MB / 3.164 GB, free: 239 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/7.823, allocations: 7.969 kB / 3.164 GB, free: 239 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/7.823, allocations: 3.812 kB / 3.164 GB, free: 239 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009812/7.824, allocations: 78.88 kB / 3.164 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/7.825, allocations: 148.2 kB / 3.164 GB, free: 238.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/7.827, allocations: 1.522 MB / 3.166 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/7.829, allocations: 80.8 kB / 3.166 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/7.829, allocations: 27.2 kB / 3.166 GB, free: 237.5 MB / 0.8855 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.0007145/7.83, allocations: 259.5 kB / 3.166 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/7.83, allocations: 82.12 kB / 3.166 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/7.834, allocations: 1.039 MB / 3.167 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/7.834, allocations: 7.812 kB / 3.167 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/7.834, allocations: 0 / 3.167 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/7.834, allocations: 3.984 kB / 3.167 GB, free: 237 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/7.835, allocations: 0.8899 MB / 3.168 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/7.835, allocations: 3.938 kB / 3.168 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/7.837, allocations: 148.9 kB / 3.168 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008524/7.837, allocations: 87.23 kB / 3.168 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-05/7.838, allocations: 22.98 kB / 3.168 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/7.84, allocations: 1.552 MB / 3.17 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/7.84, allocations: 3.938 kB / 3.17 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/7.843, allocations: 0.8679 MB / 3.171 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006017/7.844, allocations: 296.2 kB / 3.171 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/7.844, allocations: 14.25 kB / 3.171 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/7.845, allocations: 69.66 kB / 3.171 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/7.845, allocations: 64.03 kB / 3.171 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/7.845, allocations: 33.48 kB / 3.171 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0008778/7.846, allocations: 477.4 kB / 3.172 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.01e-07/7.846, allocations: 0 / 3.172 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001559/7.848, allocations: 322.5 kB / 3.172 GB, free: 234.4 MB / 0.8855 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.002426/7.85, allocations: 1.019 MB / 3.173 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002581/7.853, allocations: 0.7585 MB / 3.174 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/7.853, allocations: 3.906 kB / 3.174 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/7.854, allocations: 0.4997 MB / 3.174 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/7.856, allocations: 253 kB / 3.174 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006089/7.863, allocations: 2.081 MB / 3.176 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/7.863, allocations: 0.9908 MB / 3.177 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001526/7.865, allocations: 266.5 kB / 3.178 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/7.865, allocations: 96.58 kB / 3.178 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/7.865, allocations: 0 / 3.178 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.04759/7.913, allocations: 20.26 MB / 3.197 GB, free: 221.1 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)