Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002651/0.002655, allocations: 354.5 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.459/1.459, allocations: 165.8 MB / 183.1 MB, free: 5.508 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.92/3.92, allocations: 410.8 MB / 0.6001 GB, free: 15.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 190.8 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004614, allocations: 16 kB / 0.7429 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4168, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.02/6.437, allocations: 2.033 GB / 2.842 GB, free: 61.6 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/6.437, allocations: 103.9 kB / 2.842 GB, free: 61.55 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.2486/6.686, allocations: 63.68 MB / 2.904 GB, free: 3.273 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.514e-06/6.686, allocations: 0 / 2.904 GB, free: 3.273 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.443e-05/6.686, allocations: 27.94 kB / 2.904 GB, free: 3.246 MB / 0.573 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.002716/6.689, allocations: 1.144 MB / 2.906 GB, free: 2.051 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/6.689, allocations: 12.02 kB / 2.906 GB, free: 2.039 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/6.691, allocations: 202.6 kB / 2.906 GB, free: 1.84 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/6.692, allocations: 0.6114 MB / 2.906 GB, free: 1.188 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/6.692, allocations: 58 kB / 2.906 GB, free: 1.129 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/6.693, allocations: 75.98 kB / 2.906 GB, free: 1.055 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/6.695, allocations: 0.8676 MB / 2.907 GB, free: 152 kB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/6.695, allocations: 0 / 2.907 GB, free: 152 kB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/6.695, allocations: 36 kB / 2.907 GB, free: 116 kB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/6.695, allocations: 20 kB / 2.907 GB, free: 96 kB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3983/7.093, allocations: 1.084 MB / 2.908 GB, free: 182.6 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006508/7.1, allocations: 2.411 MB / 2.911 GB, free: 181.9 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003884/7.104, allocations: 0.8266 MB / 2.912 GB, free: 181.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009912/7.105, allocations: 294.2 kB / 2.912 GB, free: 181.9 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/7.105, allocations: 32.58 kB / 2.912 GB, free: 181.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/7.106, allocations: 454.7 kB / 2.912 GB, free: 181.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=73): time 3.527e-06/7.106, allocations: 3.094 kB / 2.912 GB, free: 181.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=73): time 0.005719/7.112, allocations: 1.147 MB / 2.913 GB, free: 181.6 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.414e-05/7.112, allocations: 241.9 kB / 2.914 GB, free: 181.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/7.114, allocations: 0.6365 MB / 2.914 GB, free: 181.2 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/7.114, allocations: 40.27 kB / 2.914 GB, free: 181.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/7.114, allocations: 371.1 kB / 2.915 GB, free: 181 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/7.114, allocations: 235.5 kB / 2.915 GB, free: 180.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/7.115, allocations: 11.81 kB / 2.915 GB, free: 180.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001298/7.115, allocations: 382.7 kB / 2.915 GB, free: 180.6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008636/7.116, allocations: 232.7 kB / 2.915 GB, free: 180.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009876/7.117, allocations: 341.7 kB / 2.916 GB, free: 180.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009522/7.118, allocations: 280.4 kB / 2.916 GB, free: 180.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/7.118, allocations: 0 / 2.916 GB, free: 180.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003169/7.121, allocations: 0.7528 MB / 2.917 GB, free: 180.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/7.121, allocations: 4.812 kB / 2.917 GB, free: 180.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/7.121, allocations: 1 kB / 2.917 GB, free: 180.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/7.122, allocations: 85.89 kB / 2.917 GB, free: 180.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/7.123, allocations: 143.2 kB / 2.917 GB, free: 180.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/7.126, allocations: 1.539 MB / 2.919 GB, free: 179.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/7.127, allocations: 76.97 kB / 2.919 GB, free: 179.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/7.127, allocations: 31.61 kB / 2.919 GB, free: 179.1 MB / 0.573 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.0007334/7.128, allocations: 251.7 kB / 2.919 GB, free: 179 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002407/7.128, allocations: 73.59 kB / 2.919 GB, free: 178.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/7.132, allocations: 1.052 MB / 2.92 GB, free: 178.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/7.132, allocations: 14.91 kB / 2.92 GB, free: 178.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/7.132, allocations: 0 / 2.92 GB, free: 178.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/7.132, allocations: 7.844 kB / 2.92 GB, free: 178.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/7.134, allocations: 0.8698 MB / 2.921 GB, free: 178.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/7.134, allocations: 2.594 kB / 2.921 GB, free: 178.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/7.135, allocations: 145.5 kB / 2.921 GB, free: 178.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008586/7.136, allocations: 83.31 kB / 2.921 GB, free: 178.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/7.136, allocations: 28.58 kB / 2.921 GB, free: 178.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/7.138, allocations: 1.559 MB / 2.923 GB, free: 177.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/7.138, allocations: 3.953 kB / 2.923 GB, free: 177.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/7.142, allocations: 0.8659 MB / 2.923 GB, free: 177.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/7.142, allocations: 291.3 kB / 2.924 GB, free: 177 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/7.142, allocations: 21.61 kB / 2.924 GB, free: 177 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/7.143, allocations: 69 kB / 2.924 GB, free: 177 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/7.144, allocations: 61.92 kB / 2.924 GB, free: 177 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/7.144, allocations: 28.72 kB / 2.924 GB, free: 177 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008228/7.145, allocations: 472.5 kB / 2.924 GB, free: 177 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.81e-07/7.145, allocations: 0 / 2.924 GB, free: 177 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001345/7.146, allocations: 332.3 kB / 2.925 GB, free: 176.9 MB / 0.573 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.002272/7.148, allocations: 1.028 MB / 2.926 GB, free: 176.8 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00243/7.151, allocations: 0.754 MB / 2.926 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/7.151, allocations: 0 / 2.926 GB, free: 176.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/7.152, allocations: 0.5065 MB / 2.927 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/7.154, allocations: 247.5 kB / 2.927 GB, free: 176.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/7.161, allocations: 2.071 MB / 2.929 GB, free: 175.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/7.161, allocations: 1.014 MB / 2.93 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001549/7.163, allocations: 265 kB / 2.93 GB, free: 174.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/7.163, allocations: 95.06 kB / 2.931 GB, free: 174.9 MB / 0.573 GB Notification: Performance of SimCode: time 1.192e-06/7.163, allocations: 0 / 2.931 GB, free: 174.9 MB / 0.573 GB Notification: Performance of Templates: time 0.04966/7.213, allocations: 20.26 MB / 2.95 GB, free: 173.5 MB / 0.573 GB