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.001091/0.001091, allocations: 106.7 kB / 16.41 MB, free: 6.508 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.001153/0.001153, allocations: 187 kB / 17.34 MB, free: 5.742 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002287/0.002287, allocations: 294.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 95.84 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4916/0.4934, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006727/0.5001, allocations: 4.377 MB / 0.7713 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1751/0.6753, allocations: 150.6 MB / 0.9184 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.6764, allocations: 19.88 kB / 0.9184 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008718/0.6773, allocations: 170.4 kB / 0.9185 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.6797, allocations: 0.5059 MB / 0.919 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/0.6822, allocations: 0.8421 MB / 0.9199 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002042/0.6843, allocations: 1.316 MB / 0.9211 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.6857, allocations: 0.6985 MB / 0.9218 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009926/0.6867, allocations: 0.4944 MB / 0.9223 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009801/0.6877, allocations: 0.525 MB / 0.9228 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003638/0.688, allocations: 124 kB / 0.9229 GB, free: 3.641 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.6893, allocations: 495.6 kB / 0.9234 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.6898, allocations: 326.9 kB / 0.9237 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008227/0.6906, allocations: 0.5674 MB / 0.9243 GB, free: 2.266 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.6933, allocations: 1.696 MB / 0.9259 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6933, allocations: 4 kB / 0.9259 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6933, allocations: 0 / 0.9259 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.435e-05/0.6934, allocations: 0 / 0.9259 GB, free: 0.5625 MB / 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.003068/0.6964, allocations: 1.481 MB / 0.9274 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.6965, allocations: 8.031 kB / 0.9274 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.6977, allocations: 223.2 kB / 0.9276 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.699, allocations: 0.7733 MB / 0.9284 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.699, allocations: 74 kB / 0.9284 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.6992, allocations: 88 kB / 0.9285 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/0.7009, allocations: 1.007 MB / 0.9295 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.7009, allocations: 0 / 0.9295 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.701, allocations: 40 kB / 0.9295 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.7011, allocations: 28 kB / 0.9296 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.7029, allocations: 1.175 MB / 0.9307 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004199/0.7071, allocations: 2.596 MB / 0.9332 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.7096, allocations: 0.9654 MB / 0.9342 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.7102, allocations: 310.7 kB / 0.9345 GB, free: 7.578 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.7103, allocations: 36.59 kB / 0.9345 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008983/0.7112, allocations: 0.4991 MB / 0.935 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/0.7112, allocations: 0 / 0.935 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003242/0.7144, allocations: 1.213 MB / 0.9362 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.7146, allocations: 200.4 kB / 0.9364 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008391/0.7154, allocations: 0.6409 MB / 0.937 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/0.7155, allocations: 41.7 kB / 0.937 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.7159, allocations: 424.2 kB / 0.9375 GB, free: 4.434 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.7161, allocations: 268.2 kB / 0.9377 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.7164, allocations: 170.5 kB / 0.9379 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.7166, allocations: 386.8 kB / 0.9382 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.7172, allocations: 269.8 kB / 0.9385 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006652/0.7178, allocations: 375.1 kB / 0.9389 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.719, allocations: 0.615 MB / 0.9395 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7191, allocations: 4 kB / 0.9395 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002049/0.7211, allocations: 0.8759 MB / 0.9403 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.7211, allocations: 6.5 kB / 0.9403 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7212, allocations: 4 kB / 0.9403 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/0.7218, allocations: 84.86 kB / 0.9404 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/0.7225, allocations: 155.8 kB / 0.9406 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.7247, allocations: 1.637 MB / 0.9422 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/0.7256, allocations: 103.3 kB / 0.9422 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.7256, allocations: 28.05 kB / 0.9423 GB, free: 15.29 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.0005013/0.7261, allocations: 285.9 kB / 0.9425 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.7263, allocations: 82.97 kB / 0.9426 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.7288, allocations: 1.093 MB / 0.9437 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.7288, allocations: 15.94 kB / 0.9437 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.7288, allocations: 4 kB / 0.9437 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.7288, allocations: 3.984 kB / 0.9437 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/0.7324, allocations: 2.01 MB / 0.9457 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.7324, allocations: 4 kB / 0.9457 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.733, allocations: 143.8 kB / 0.9458 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004496/0.7335, allocations: 76.78 kB / 0.9459 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.7335, allocations: 23.98 kB / 0.9459 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.7355, allocations: 1.666 MB / 0.9475 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7356, allocations: 0 / 0.9475 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002232/0.7378, allocations: 1.017 MB / 0.9485 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005167/0.7383, allocations: 279.7 kB / 0.9488 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.7385, allocations: 16 kB / 0.9488 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007582/0.7393, allocations: 67.92 kB / 0.9489 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.7395, allocations: 72.91 kB / 0.949 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/0.7396, allocations: 35.97 kB / 0.949 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007625/0.7403, allocations: 467 kB / 0.9494 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7403, allocations: 0 / 0.9494 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001139/0.7415, allocations: 331.2 kB / 0.9497 GB, free: 7.371 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.00158/0.7431, allocations: 0.6108 MB / 0.9503 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001983/0.7451, allocations: 0.8547 MB / 0.9512 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7451, allocations: 0 / 0.9512 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.7461, allocations: 0.5275 MB / 0.9517 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.7475, allocations: 284.5 kB / 0.952 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004688/0.7522, allocations: 1.855 MB / 0.9538 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009275/0.7531, allocations: 1.047 MB / 0.9548 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.7536, allocations: 119.4 kB / 0.9549 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of SimCode: time 1.272e-06/0.7536, allocations: 0 / 0.9549 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.4548/1.208, allocations: 19.22 MB / 0.9737 GB, free: 178.7 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)