Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.347/2.347, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 192 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.782/2.782, allocations: 205.4 MB / 0.5766 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001716/0.001716, allocations: 100.3 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004517, allocations: 13.25 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2036, allocations: 106.3 MB / 0.8989 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005271/0.2089, allocations: 3.487 MB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2025/0.4115, allocations: 127.2 MB / 1.027 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008168/0.4124, allocations: 19.88 kB / 1.027 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004623/0.4129, allocations: 67.34 kB / 1.027 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002079/0.415, allocations: 421.2 kB / 1.027 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.4176, allocations: 0.5945 MB / 1.028 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.4195, allocations: 0.7325 MB / 1.028 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.4206, allocations: 455 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007687/0.4214, allocations: 298.7 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005667/0.422, allocations: 282.5 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.4221, allocations: 20 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009609/0.4231, allocations: 251.7 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.4234, allocations: 167.3 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.4237, allocations: 173.2 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.4256, allocations: 1.033 MB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4256, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4256, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.4257, allocations: 0 / 1.031 GB, free: 9.969 MB / 0.6823 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.003158/0.4288, allocations: 1.108 MB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4289, allocations: 8.031 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001783/0.4307, allocations: 210.6 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.4325, allocations: 0.6719 MB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/0.4326, allocations: 61.98 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.4328, allocations: 76 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00242/0.4352, allocations: 0.8597 MB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.4353, allocations: 0 / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.4354, allocations: 35.95 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.4355, allocations: 20 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003266/0.4388, allocations: 1.085 MB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008679/0.4475, allocations: 2.412 MB / 1.037 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006435/0.454, allocations: 0.8155 MB / 1.038 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.4543, allocations: 32.69 kB / 1.038 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/0.4563, allocations: 448.4 kB / 1.039 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 4.749e-06/0.4564, allocations: 3.938 kB / 1.039 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.005148/0.4615, allocations: 1.12 MB / 1.04 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.4617, allocations: 196.6 kB / 1.04 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.4628, allocations: 0.554 MB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.463, allocations: 41.7 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.4634, allocations: 372.3 kB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/0.4638, allocations: 240.4 kB / 1.041 GB, free: 15.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.4639, allocations: 11.94 kB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.4641, allocations: 378.8 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000879/0.465, allocations: 237.2 kB / 1.042 GB, free: 14.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/0.466, allocations: 330.8 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/0.467, allocations: 279 kB / 1.042 GB, free: 14.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.467, allocations: 4 kB / 1.042 GB, free: 14.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003118/0.4701, allocations: 0.7509 MB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.4702, allocations: 9.406 kB / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4702, allocations: 0 / 1.043 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.4713, allocations: 84.86 kB / 1.043 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.4725, allocations: 143.8 kB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.4756, allocations: 1.551 MB / 1.045 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.4767, allocations: 80.16 kB / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.727e-05/0.4768, allocations: 31.97 kB / 1.045 GB, free: 11.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0006163/0.4775, allocations: 253.6 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.4777, allocations: 71.16 kB / 1.045 GB, free: 10.93 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004086/0.4818, allocations: 1.04 MB / 1.046 GB, free: 9.875 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.4819, allocations: 12 kB / 1.046 GB, free: 9.863 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4819, allocations: 4 kB / 1.046 GB, free: 9.859 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.4819, allocations: 3.984 kB / 1.046 GB, free: 9.855 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.4836, allocations: 0.8529 MB / 1.047 GB, free: 8.953 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4837, allocations: 0 / 1.047 GB, free: 8.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.4849, allocations: 147.8 kB / 1.047 GB, free: 8.809 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008802/0.4858, allocations: 84.77 kB / 1.047 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.4859, allocations: 23.98 kB / 1.047 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/0.4888, allocations: 1.567 MB / 1.049 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4888, allocations: 0 / 1.049 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003373/0.4922, allocations: 0.8733 MB / 1.05 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.4928, allocations: 271.8 kB / 1.05 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.493, allocations: 23.95 kB / 1.05 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.4941, allocations: 70.12 kB / 1.05 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.4943, allocations: 60.92 kB / 1.05 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.4945, allocations: 31.97 kB / 1.05 GB, free: 5.633 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008226/0.4953, allocations: 411.1 kB / 1.05 GB, free: 5.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.146e-06/0.4953, allocations: 0 / 1.05 GB, free: 5.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001091/0.4964, allocations: 275.2 kB / 1.051 GB, free: 4.961 MB / 0.698 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.001673/0.4981, allocations: 0.5554 MB / 1.051 GB, free: 4.578 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002649/0.5008, allocations: 0.7514 MB / 1.052 GB, free: 3.816 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5008, allocations: 0 / 1.052 GB, free: 3.816 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/0.5024, allocations: 0.4924 MB / 1.052 GB, free: 3.309 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.5042, allocations: 241.8 kB / 1.053 GB, free: 3.078 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/0.5107, allocations: 2.045 MB / 1.055 GB, free: 1.004 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6869/1.198, allocations: 1.01 MB / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001625/1.199, allocations: 259.3 kB / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/1.2, allocations: 102.8 kB / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.272e-06/1.2, allocations: 0 / 1.056 GB, free: 153.9 MB / 0.698 GB Notification: Performance of Templates: time 0.03826/1.238, allocations: 12.76 MB / 1.068 GB, free: 151.4 MB / 0.698 GB