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 4.884/4.884, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002403/0.002402, allocations: 354.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.244/4.244, allocations: 410.7 MB / 1.112 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001777/0.001777, allocations: 196.9 kB / 1.225 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004861, allocations: 12 kB / 1.348 GB, free: 8.211 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5949, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004195/0.5991, allocations: 3.551 MB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1375/0.7367, allocations: 136.3 MB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006819/0.7374, allocations: 15.94 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.7378, allocations: 83.27 kB / 1.597 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.7391, allocations: 372.2 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.7409, allocations: 0.5963 MB / 1.598 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.7419, allocations: 1.032 MB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.7427, allocations: 458.2 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.7431, allocations: 286.6 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.7436, allocations: 318.3 kB / 1.6 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.79e-05/0.7437, allocations: 20 kB / 1.6 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007199/0.7444, allocations: 271.6 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.7446, allocations: 163.2 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.7448, allocations: 177.2 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.746, allocations: 1.029 MB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.242e-06/0.7461, allocations: 0 / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.944e-06/0.7461, allocations: 0 / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.567e-05/0.7461, allocations: 0 / 1.602 GB, free: 139.8 MB / 0.8542 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.002104/0.7482, allocations: 1.108 MB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.7483, allocations: 15.62 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.7495, allocations: 207.2 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.7507, allocations: 0.672 MB / 1.604 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.7507, allocations: 58 kB / 1.604 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.7509, allocations: 72 kB / 1.604 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.7526, allocations: 0.8637 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.7526, allocations: 4.594 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.7528, allocations: 39.89 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.7528, allocations: 24 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.7549, allocations: 1.081 MB / 1.606 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.7593, allocations: 2.411 MB / 1.608 GB, free: 133 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002466/0.7618, allocations: 0.8086 MB / 1.609 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/0.7625, allocations: 294.7 kB / 1.609 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.181e-05/0.7626, allocations: 33.88 kB / 1.609 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009779/0.7636, allocations: 439.3 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=73): time 5.736e-06/0.7637, allocations: 6.203 kB / 1.61 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73): time 0.003446/0.7671, allocations: 1.131 MB / 1.611 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.7672, allocations: 188.6 kB / 1.611 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.7681, allocations: 0.5616 MB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.879e-05/0.7682, allocations: 37.7 kB / 1.612 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.7685, allocations: 376.3 kB / 1.612 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.7687, allocations: 240.5 kB / 1.612 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.7688, allocations: 16 kB / 1.612 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7689, allocations: 374.8 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006567/0.7695, allocations: 257.8 kB / 1.613 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008512/0.7704, allocations: 343.1 kB / 1.613 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.7712, allocations: 298.9 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7712, allocations: 3.938 kB / 1.614 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002279/0.7735, allocations: 0.8097 MB / 1.614 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.7735, allocations: 4 kB / 1.614 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7735, allocations: 4 kB / 1.614 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009104/0.7745, allocations: 84.86 kB / 1.614 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/0.7754, allocations: 155.8 kB / 1.615 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.7778, allocations: 1.521 MB / 1.616 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008699/0.7787, allocations: 89.77 kB / 1.616 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/0.7788, allocations: 31.97 kB / 1.616 GB, free: 124.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0004794/0.7793, allocations: 266.9 kB / 1.616 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.7794, allocations: 75.06 kB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.7822, allocations: 1.03 MB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.7823, allocations: 12 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.947e-06/0.7823, allocations: 0 / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.7823, allocations: 15.86 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.7834, allocations: 0.845 MB / 1.618 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.907e-06/0.7835, allocations: 4 kB / 1.618 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/0.7843, allocations: 143.8 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005849/0.7849, allocations: 88.77 kB / 1.619 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.785, allocations: 23.98 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.7869, allocations: 1.55 MB / 1.62 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.46e-06/0.7869, allocations: 8.016 kB / 1.62 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.7892, allocations: 0.8693 MB / 1.621 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.7896, allocations: 275.7 kB / 1.621 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.7898, allocations: 16 kB / 1.621 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.7905, allocations: 71.94 kB / 1.621 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.7906, allocations: 56.91 kB / 1.621 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/0.7907, allocations: 31.98 kB / 1.621 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005609/0.7913, allocations: 419 kB / 1.622 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.66e-06/0.7913, allocations: 0 / 1.622 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008762/0.7922, allocations: 271.3 kB / 1.622 GB, free: 118.4 MB / 0.8542 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.00166/0.7939, allocations: 0.5413 MB / 1.623 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.7957, allocations: 0.7923 MB / 1.623 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7957, allocations: 4 kB / 1.623 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009956/0.7967, allocations: 0.5002 MB / 1.624 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.798, allocations: 255.6 kB / 1.624 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.8022, allocations: 2.052 MB / 1.626 GB, free: 114.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.8027, allocations: 1.007 MB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001124/0.8039, allocations: 257.4 kB / 1.627 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.8042, allocations: 99.39 kB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.631e-06/0.8042, allocations: 0 / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.02693/0.8312, allocations: 12.76 MB / 1.64 GB, free: 100.6 MB / 0.8542 GB