Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 172.9 kB / 361.4 MB, free: 6.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.081/2.081, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009734/0.0009734, allocations: 100.2 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.267e-05, allocations: 4 kB / 0.8517 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9182, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.232/6.15, allocations: 2.071 GB / 3.036 GB, free: 44.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/6.151, allocations: 95 kB / 3.036 GB, free: 44.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5927/6.743, allocations: 61.94 MB / 3.096 GB, free: 319.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/6.743, allocations: 0 / 3.096 GB, free: 319.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.86e-05/6.743, allocations: 21.44 kB / 3.096 GB, free: 319.7 MB / 0.948 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.00167/6.745, allocations: 1.044 MB / 3.097 GB, free: 319.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/6.745, allocations: 9.922 kB / 3.097 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/6.746, allocations: 207 kB / 3.098 GB, free: 319.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/6.747, allocations: 0.6084 MB / 3.098 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/6.747, allocations: 28.27 kB / 3.098 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.109e-05/6.747, allocations: 43.97 kB / 3.098 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001633/6.749, allocations: 0.9808 MB / 3.099 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/6.75, allocations: 0.7181 MB / 3.1 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/6.75, allocations: 0.5625 kB / 3.1 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/6.75, allocations: 3.938 kB / 3.1 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/6.75, allocations: 19.25 kB / 3.1 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/6.754, allocations: 2.261 MB / 3.102 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/6.756, allocations: 0.734 MB / 3.103 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/6.756, allocations: 248.7 kB / 3.103 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.012e-05/6.756, allocations: 26.48 kB / 3.103 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/6.757, allocations: 407.5 kB / 3.103 GB, free: 317.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 4.108e-06/6.757, allocations: 0 / 3.103 GB, free: 317.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001758/6.759, allocations: 0.6741 MB / 3.104 GB, free: 317.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.928e-05/6.759, allocations: 244.4 kB / 3.104 GB, free: 317.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/6.76, allocations: 0.4889 MB / 3.105 GB, free: 317.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.021e-05/6.76, allocations: 29.36 kB / 3.105 GB, free: 317.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/6.76, allocations: 370 kB / 3.105 GB, free: 317.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/6.76, allocations: 227.4 kB / 3.105 GB, free: 317 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/6.76, allocations: 0 / 3.105 GB, free: 317 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001637/6.761, allocations: 377 kB / 3.106 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/6.761, allocations: 199.3 kB / 3.106 GB, free: 316.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/6.761, allocations: 295.2 kB / 3.106 GB, free: 316.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/6.762, allocations: 245.3 kB / 3.107 GB, free: 316.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/6.762, allocations: 1.094 kB / 3.107 GB, free: 316.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001855/6.764, allocations: 0.6606 MB / 3.107 GB, free: 316.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/6.764, allocations: 6.406 kB / 3.107 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/6.764, allocations: 1.531 kB / 3.107 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/6.764, allocations: 85.08 kB / 3.107 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/6.765, allocations: 139.8 kB / 3.107 GB, free: 316.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/6.767, allocations: 1.468 MB / 3.109 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/6.768, allocations: 69.39 kB / 3.109 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/6.768, allocations: 27.52 kB / 3.109 GB, free: 315.3 MB / 0.948 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 () * 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.0001713/6.768, allocations: 121.1 kB / 3.109 GB, free: 315.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/6.768, allocations: 72.45 kB / 3.109 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/6.77, allocations: 0.9286 MB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/6.77, allocations: 9.062 kB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/6.77, allocations: 1.125 kB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/6.77, allocations: 4.641 kB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/6.771, allocations: 0.7574 MB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/6.771, allocations: 0 / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/6.772, allocations: 149.8 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/6.773, allocations: 86.91 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/6.773, allocations: 14.31 kB / 3.111 GB, free: 314.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/6.774, allocations: 1.501 MB / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/6.774, allocations: 0 / 3.112 GB, free: 313.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/6.776, allocations: 0.7639 MB / 3.113 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/6.776, allocations: 284.7 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/6.776, allocations: 4.406 kB / 3.113 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/6.777, allocations: 52 kB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/6.777, allocations: 63.55 kB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/6.777, allocations: 28.47 kB / 3.114 GB, free: 313.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004969/6.777, allocations: 406.2 kB / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/6.778, allocations: 0 / 3.114 GB, free: 313.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001054/6.779, allocations: 300.6 kB / 3.114 GB, free: 313.1 MB / 0.948 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) * 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.001804/6.78, allocations: 1.04 MB / 3.115 GB, free: 313 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001283/6.782, allocations: 0.6584 MB / 3.116 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/6.782, allocations: 3.438 kB / 3.116 GB, free: 312.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007071/6.782, allocations: 456.8 kB / 3.116 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/6.784, allocations: 220.9 kB / 3.117 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/6.787, allocations: 1.279 MB / 3.118 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/6.788, allocations: 1.015 MB / 3.119 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001136/6.789, allocations: 259.5 kB / 3.119 GB, free: 311.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/6.789, allocations: 94.84 kB / 3.119 GB, free: 311.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.062e-06/6.789, allocations: 0 / 3.119 GB, free: 311.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02747/6.816, allocations: 15.48 MB / 3.134 GB, free: 310.4 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)