Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 109.6 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 189.2 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00264/0.00264, allocations: 284 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 100.2 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4214, allocations: 86.97 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006301/0.4277, allocations: 4.385 MB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.193/0.6207, allocations: 151 MB / 0.9188 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008753/0.6216, allocations: 15.94 kB / 0.9188 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.6222, allocations: 182.3 kB / 0.919 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.6241, allocations: 0.4993 MB / 0.9195 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.6262, allocations: 0.8499 MB / 0.9203 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.6278, allocations: 1.308 MB / 0.9216 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008274/0.6286, allocations: 0.519 MB / 0.9221 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006631/0.6293, allocations: 0.5022 MB / 0.9226 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006103/0.6299, allocations: 0.5134 MB / 0.9231 GB, free: 3.488 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/0.6301, allocations: 128 kB / 0.9232 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009698/0.631, allocations: 499.5 kB / 0.9237 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.6313, allocations: 319 kB / 0.924 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005195/0.6319, allocations: 0.5751 MB / 0.9245 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.6339, allocations: 1.702 MB / 0.9262 GB, free: 288 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6339, allocations: 0 / 0.9262 GB, free: 288 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.964e-06/0.634, allocations: 3.938 kB / 0.9262 GB, free: 284 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.143e-05/0.634, allocations: 0 / 0.9262 GB, free: 284 kB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002753/0.6367, allocations: 1.514 MB / 0.9277 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6368, allocations: 8.031 kB / 0.9277 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.6379, allocations: 228 kB / 0.9279 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.6393, allocations: 0.7856 MB / 0.9287 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.6393, allocations: 69.94 kB / 0.9287 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.6395, allocations: 96 kB / 0.9288 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.6412, allocations: 1.003 MB / 0.9298 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.6413, allocations: 0 / 0.9298 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.6414, allocations: 44 kB / 0.9299 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.6414, allocations: 24 kB / 0.9299 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.6434, allocations: 1.175 MB / 0.931 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004433/0.6478, allocations: 2.593 MB / 0.9336 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.6504, allocations: 0.9185 MB / 0.9345 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/0.651, allocations: 290.6 kB / 0.9347 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/0.6511, allocations: 36.59 kB / 0.9348 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009459/0.652, allocations: 0.4931 MB / 0.9352 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.876e-06/0.652, allocations: 0 / 0.9352 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003563/0.6556, allocations: 1.225 MB / 0.9364 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.6557, allocations: 192.5 kB / 0.9366 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009027/0.6566, allocations: 0.6449 MB / 0.9373 GB, free: 4.633 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.961e-05/0.6567, allocations: 37.7 kB / 0.9373 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/0.6571, allocations: 436.9 kB / 0.9377 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.6574, allocations: 277.7 kB / 0.938 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.6577, allocations: 170.6 kB / 0.9381 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.6579, allocations: 382.8 kB / 0.9385 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005989/0.6585, allocations: 273.8 kB / 0.9388 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/0.6592, allocations: 371.1 kB / 0.9391 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.6604, allocations: 0.6228 MB / 0.9397 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6604, allocations: 4 kB / 0.9397 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002134/0.6626, allocations: 0.8725 MB / 0.9406 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.6626, allocations: 8 kB / 0.9406 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6626, allocations: 0 / 0.9406 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/0.6632, allocations: 84.86 kB / 0.9407 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/0.664, allocations: 167.7 kB / 0.9408 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002252/0.6662, allocations: 1.63 MB / 0.9424 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/0.667, allocations: 113.7 kB / 0.9425 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.6671, allocations: 40.03 kB / 0.9426 GB, free: 14.98 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004957/0.6676, allocations: 274.7 kB / 0.9428 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.6678, allocations: 87.44 kB / 0.9429 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.6703, allocations: 1.093 MB / 0.944 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/0.6703, allocations: 8 kB / 0.944 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.6703, allocations: 4 kB / 0.944 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.6703, allocations: 7.969 kB / 0.944 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003688/0.674, allocations: 2.006 MB / 0.946 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.674, allocations: 0 / 0.946 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/0.6747, allocations: 151.7 kB / 0.9461 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.6751, allocations: 80.77 kB / 0.9462 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.6752, allocations: 23.98 kB / 0.9462 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.6773, allocations: 1.666 MB / 0.9478 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6773, allocations: 0 / 0.9478 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.6795, allocations: 1.018 MB / 0.9488 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.6799, allocations: 284.1 kB / 0.9491 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6801, allocations: 20 kB / 0.9491 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/0.6808, allocations: 63.92 kB / 0.9492 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.6809, allocations: 76.89 kB / 0.9492 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.681, allocations: 27.98 kB / 0.9493 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006211/0.6816, allocations: 471 kB / 0.9497 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6816, allocations: 0 / 0.9497 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009522/0.6826, allocations: 339 kB / 0.95 GB, free: 7.062 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/0.6845, allocations: 0.6127 MB / 0.9506 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.6864, allocations: 0.8235 MB / 0.9514 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.6865, allocations: 4 kB / 0.9515 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009967/0.6874, allocations: 0.4885 MB / 0.9519 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6887, allocations: 295.2 kB / 0.9522 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.6929, allocations: 1.855 MB / 0.954 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/0.6936, allocations: 1.047 MB / 0.955 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008499/0.6944, allocations: 266.7 kB / 0.9553 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.6947, allocations: 107.4 kB / 0.9554 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of SimCode: time 6.72e-07/0.6947, allocations: 4 kB / 0.9554 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of Templates: time 0.3555/1.05, allocations: 15.37 MB / 0.9704 GB, free: 182.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)