Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.656/2.656, allocations: 287.9 MB / 302.9 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 182.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.974/1.974, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 82.94 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004673/0.0004675, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1594, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004199/0.1636, allocations: 3.487 MB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7474/0.9111, allocations: 127.2 MB / 1.106 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008547/0.912, allocations: 18.03 kB / 1.106 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.9123, allocations: 72.39 kB / 1.106 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001792/0.9141, allocations: 413.8 kB / 1.107 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.9163, allocations: 0.5945 MB / 1.107 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001457/0.9178, allocations: 0.7344 MB / 1.108 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007909/0.9186, allocations: 456.2 kB / 1.109 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.9192, allocations: 297.6 kB / 1.109 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.9197, allocations: 286.8 kB / 1.109 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/0.9198, allocations: 20.84 kB / 1.109 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008317/0.9207, allocations: 243.8 kB / 1.109 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.9209, allocations: 169 kB / 1.11 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.9211, allocations: 172.7 kB / 1.11 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.9227, allocations: 1.036 MB / 1.111 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.49e-06/0.9228, allocations: 0 / 1.111 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.762e-06/0.9228, allocations: 5.859 kB / 1.111 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.9228, allocations: 1.25 kB / 1.111 GB, free: 1.793 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.002501/0.9253, allocations: 1.104 MB / 1.112 GB, free: 17.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.9254, allocations: 12.2 kB / 1.112 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001407/0.9268, allocations: 211.9 kB / 1.112 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.9283, allocations: 0.6746 MB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-05/0.9284, allocations: 57.59 kB / 1.113 GB, free: 16.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.9286, allocations: 79.19 kB / 1.113 GB, free: 16.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.9307, allocations: 0.8554 MB / 1.114 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.9307, allocations: 7.312 kB / 1.114 GB, free: 16.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.9308, allocations: 36.38 kB / 1.114 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.9309, allocations: 23.89 kB / 1.114 GB, free: 16.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.9334, allocations: 1.081 MB / 1.115 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.9388, allocations: 2.408 MB / 1.117 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.9415, allocations: 0.8252 MB / 1.118 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.9417, allocations: 30.44 kB / 1.118 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/0.9428, allocations: 441.5 kB / 1.118 GB, free: 15.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.23e-06/0.9428, allocations: 1.25 kB / 1.118 GB, free: 15.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.003827/0.9467, allocations: 1.126 MB / 1.119 GB, free: 15.41 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.9468, allocations: 192.1 kB / 1.12 GB, free: 15.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009262/0.9478, allocations: 0.5578 MB / 1.12 GB, free: 15.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.9479, allocations: 40.95 kB / 1.12 GB, free: 15.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.9483, allocations: 375.6 kB / 1.121 GB, free: 14.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.9485, allocations: 239.4 kB / 1.121 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.9486, allocations: 9.656 kB / 1.121 GB, free: 14.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.9488, allocations: 379.3 kB / 1.121 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006648/0.9495, allocations: 235.1 kB / 1.121 GB, free: 14.39 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.9502, allocations: 330.8 kB / 1.122 GB, free: 14.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.9509, allocations: 277.5 kB / 1.122 GB, free: 14.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.185e-06/0.951, allocations: 1.859 kB / 1.122 GB, free: 14.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002387/0.9534, allocations: 0.7551 MB / 1.123 GB, free: 14.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.9534, allocations: 7.219 kB / 1.123 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9535, allocations: 4.797 kB / 1.123 GB, free: 14.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006683/0.9541, allocations: 84.3 kB / 1.123 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/0.955, allocations: 144.7 kB / 1.123 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.9576, allocations: 1.55 MB / 1.124 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000992/0.9586, allocations: 79.36 kB / 1.125 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.9587, allocations: 31.22 kB / 1.125 GB, free: 12.84 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.000631/0.9593, allocations: 251.8 kB / 1.125 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.9596, allocations: 79.8 kB / 1.125 GB, free: 12.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.9627, allocations: 1.041 MB / 1.126 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.9627, allocations: 8.094 kB / 1.126 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.935e-06/0.9627, allocations: 5.125 kB / 1.126 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.052e-05/0.9628, allocations: 3.984 kB / 1.126 GB, free: 12.43 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.9644, allocations: 0.8593 MB / 1.127 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.606e-06/0.9644, allocations: 3.938 kB / 1.127 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008331/0.9652, allocations: 145.1 kB / 1.127 GB, free: 11.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006541/0.9659, allocations: 88.45 kB / 1.127 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.786e-05/0.966, allocations: 21.05 kB / 1.127 GB, free: 11.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.9685, allocations: 1.572 MB / 1.129 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.688e-06/0.9686, allocations: 0 / 1.129 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.9713, allocations: 0.8675 MB / 1.129 GB, free: 10.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006233/0.9719, allocations: 279.9 kB / 1.13 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.9721, allocations: 16.81 kB / 1.13 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/0.9729, allocations: 79.3 kB / 1.13 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.973, allocations: 59 kB / 1.13 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.933e-05/0.9731, allocations: 30.23 kB / 1.13 GB, free: 10.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007335/0.9739, allocations: 412.3 kB / 1.13 GB, free: 9.922 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.35e-07/0.9739, allocations: 1.859 kB / 1.13 GB, free: 9.922 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001032/0.9749, allocations: 264.1 kB / 1.131 GB, free: 9.871 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.001832/0.9768, allocations: 0.546 MB / 1.131 GB, free: 9.645 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002148/0.979, allocations: 0.7567 MB / 1.132 GB, free: 9.414 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.4e-06/0.979, allocations: 1.031 kB / 1.132 GB, free: 9.414 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.9802, allocations: 0.5056 MB / 1.132 GB, free: 9.227 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.9815, allocations: 235.2 kB / 1.132 GB, free: 9.152 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00526/0.9868, allocations: 2.031 MB / 1.134 GB, free: 8.031 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/0.9877, allocations: 1.018 MB / 1.135 GB, free: 7.191 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001364/0.9891, allocations: 254.4 kB / 1.136 GB, free: 7.066 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/0.9895, allocations: 101.8 kB / 1.136 GB, free: 7.039 MB / 0.698 GB Notification: Performance of SimCode: time 2.003e-06/0.9895, allocations: 0 / 1.136 GB, free: 7.039 MB / 0.698 GB Notification: Performance of Templates: time 0.03516/1.025, allocations: 12.78 MB / 1.148 GB, free: 0.625 MB / 0.698 GB