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.002437/0.002437, allocations: 357.8 kB / 15.94 MB, free: 6.195 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.458/1.458, allocations: 165.8 MB / 182.5 MB, free: 5.445 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.996/3.996, allocations: 410.8 MB / 0.5995 GB, free: 15.17 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.002487/0.002487, allocations: 202.5 kB / 0.6662 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004664, allocations: 12 kB / 0.7423 GB, free: 8.969 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3274, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004149/0.3316, allocations: 3.543 MB / 0.8116 GB, free: 25.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.5627/0.8944, allocations: 136.3 MB / 0.9447 GB, free: 1.348 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007387/0.8952, allocations: 16 kB / 0.9447 GB, free: 1.348 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.8955, allocations: 69.02 kB / 0.9448 GB, free: 1.348 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.8972, allocations: 394.4 kB / 0.9451 GB, free: 1.332 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.8994, allocations: 0.589 MB / 0.9457 GB, free: 1.324 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.9008, allocations: 1.031 MB / 0.9467 GB, free: 1.32 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007303/0.9016, allocations: 449.3 kB / 0.9471 GB, free: 1.266 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000518/0.9021, allocations: 290.8 kB / 0.9474 GB, free: 1.266 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.9026, allocations: 321 kB / 0.9477 GB, free: 1.258 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.9027, allocations: 19.56 kB / 0.9477 GB, free: 1.258 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.9035, allocations: 267.2 kB / 0.948 GB, free: 1.254 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.9037, allocations: 157.9 kB / 0.9481 GB, free: 1.219 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.9039, allocations: 188.9 kB / 0.9483 GB, free: 1.148 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.905, allocations: 1.026 MB / 0.9493 GB, free: 1.066 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.174e-06/0.905, allocations: 0 / 0.9493 GB, free: 1.066 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.071e-06/0.905, allocations: 0 / 0.9493 GB, free: 1.066 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.9051, allocations: 0 / 0.9493 GB, free: 1.066 MB / 474.7 MB 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.002105/0.9072, allocations: 1.11 MB / 0.9504 GB, free: 364 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.9072, allocations: 10.41 kB / 0.9504 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.9085, allocations: 207 kB / 0.9506 GB, free: 304 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.9099, allocations: 0.6741 MB / 0.9513 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.91, allocations: 61.8 kB / 0.9513 GB, free: 0 / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.9101, allocations: 74.84 kB / 0.9514 GB, free: 0 / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.9121, allocations: 0.863 MB / 0.9523 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.9121, allocations: 5.625 kB / 0.9523 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.9122, allocations: 32.34 kB / 0.9523 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.9123, allocations: 20.25 kB / 0.9523 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.9147, allocations: 1.073 MB / 0.9534 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005466/0.9202, allocations: 2.418 MB / 0.9557 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.923, allocations: 0.8185 MB / 0.9565 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/0.9238, allocations: 295 kB / 0.9568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.64e-05/0.9239, allocations: 31.12 kB / 0.9568 GB, free: 14.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.9249, allocations: 449.6 kB / 0.9573 GB, free: 14.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=73): time 5.114e-06/0.9249, allocations: 4.5 kB / 0.9573 GB, free: 14.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=73): time 0.003899/0.9288, allocations: 1.127 MB / 0.9584 GB, free: 14.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.929, allocations: 191.3 kB / 0.9585 GB, free: 14.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008875/0.9299, allocations: 0.5605 MB / 0.9591 GB, free: 14.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.93, allocations: 43.36 kB / 0.9591 GB, free: 14.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/0.9304, allocations: 360.1 kB / 0.9595 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.9307, allocations: 243.5 kB / 0.9597 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.9307, allocations: 16.84 kB / 0.9597 GB, free: 13.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.931, allocations: 374.1 kB / 0.9601 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006951/0.9317, allocations: 252.2 kB / 0.9603 GB, free: 13.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008159/0.9325, allocations: 350.5 kB / 0.9607 GB, free: 13.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007338/0.9333, allocations: 295.7 kB / 0.9609 GB, free: 13.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.9333, allocations: 3.031 kB / 0.9609 GB, free: 13.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002351/0.9357, allocations: 0.8067 MB / 0.9617 GB, free: 13.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.9357, allocations: 9.156 kB / 0.9617 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.589e-06/0.9357, allocations: 5.375 kB / 0.9617 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/0.9364, allocations: 80.89 kB / 0.9618 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.9373, allocations: 152.7 kB / 0.962 GB, free: 13.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.9398, allocations: 1.53 MB / 0.9635 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/0.9408, allocations: 86.67 kB / 0.9635 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.409e-05/0.9409, allocations: 38.52 kB / 0.9636 GB, free: 12.11 MB / 490.7 MB 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.0005774/0.9415, allocations: 260.7 kB / 0.9638 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.9417, allocations: 72.72 kB / 0.9639 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002902/0.9446, allocations: 1.033 MB / 0.9649 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.9446, allocations: 11.98 kB / 0.9649 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.773e-06/0.9447, allocations: 2.156 kB / 0.9649 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.9447, allocations: 6.25 kB / 0.9649 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/0.946, allocations: 0.8412 MB / 0.9657 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-06/0.946, allocations: 0 / 0.9657 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008222/0.9469, allocations: 149.9 kB / 0.9659 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006142/0.9475, allocations: 87.19 kB / 0.966 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.989e-05/0.9476, allocations: 30.09 kB / 0.966 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.95, allocations: 1.562 MB / 0.9675 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.963e-06/0.95, allocations: 144 / 0.9675 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.9526, allocations: 0.8683 MB / 0.9684 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.9532, allocations: 271.5 kB / 0.9686 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.9533, allocations: 22.16 kB / 0.9687 GB, free: 9.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/0.9541, allocations: 67.69 kB / 0.9687 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.9542, allocations: 65.44 kB / 0.9688 GB, free: 9.848 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.768e-05/0.9543, allocations: 30.95 kB / 0.9688 GB, free: 9.844 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006857/0.955, allocations: 410.5 kB / 0.9692 GB, free: 9.688 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.9551, allocations: 0 / 0.9692 GB, free: 9.688 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009798/0.9561, allocations: 272.6 kB / 0.9695 GB, free: 9.637 MB / 490.7 MB 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.001808/0.9579, allocations: 0.5534 MB / 0.97 GB, free: 9.398 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002189/0.9601, allocations: 0.791 MB / 0.9708 GB, free: 9.164 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.036e-06/0.9601, allocations: 0 / 0.9708 GB, free: 9.164 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.9613, allocations: 0.494 MB / 0.9713 GB, free: 8.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.9627, allocations: 254.1 kB / 0.9715 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004966/0.9677, allocations: 2.04 MB / 0.9735 GB, free: 7.793 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.9686, allocations: 1.02 MB / 0.9745 GB, free: 6.953 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001282/0.9699, allocations: 260.4 kB / 0.9747 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.9702, allocations: 95.77 kB / 0.9748 GB, free: 6.801 MB / 490.7 MB Notification: Performance of SimCode: time 1.636e-06/0.9702, allocations: 4 kB / 0.9748 GB, free: 6.797 MB / 490.7 MB Notification: Performance of Templates: time 0.03289/1.003, allocations: 12.76 MB / 0.9873 GB, free: 436 kB / 490.7 MB