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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009493/0.0009493, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009376/0.0009376, allocations: 173.3 kB / 23.5 MB, free: 1.055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9122/0.9122, allocations: 177.1 MB / 203.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002022/0.002022, allocations: 238.3 kB / 260.5 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7043/0.7043, allocations: 138.4 MB / 455.4 MB, free: 1.543 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.984 kB / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.438e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004571/0.004585, allocations: 4.976 MB / 0.5599 GB, free: 11.9 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.2895/0.294, allocations: 146.3 MB / 0.7028 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006024/0.2946, allocations: 19.88 kB / 0.7028 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.2951, allocations: 198.1 kB / 0.703 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.2962, allocations: 0.6071 MB / 0.7036 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.2973, allocations: 0.8639 MB / 0.7044 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0007309/0.2981, allocations: 1.498 MB / 0.7059 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004498/0.2985, allocations: 444.6 kB / 0.7063 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.299, allocations: 0.7836 MB / 0.7071 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002895/0.2993, allocations: 430.7 kB / 0.7075 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.79e-05/0.2994, allocations: 132 kB / 0.7076 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004532/0.2999, allocations: 0.4974 MB / 0.7081 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001866/0.3, allocations: 323 kB / 0.7084 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.3003, allocations: 422.9 kB / 0.7088 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.3014, allocations: 1.323 MB / 0.7101 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3014, allocations: 4 kB / 0.7101 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3014, allocations: 0 / 0.7101 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.3014, allocations: 4 kB / 0.7101 GB, free: 14.13 MB / 0.5261 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.001518/0.3029, allocations: 1.568 MB / 0.7116 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3029, allocations: 8.75 kB / 0.7117 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.304, allocations: 387.3 kB / 0.712 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.3047, allocations: 0.7286 MB / 0.7127 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.3048, allocations: 74.56 kB / 0.7128 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.3049, allocations: 99.92 kB / 0.7129 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.3061, allocations: 1.064 MB / 0.7139 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3061, allocations: 4 kB / 0.7139 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/0.3062, allocations: 44 kB / 0.714 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3062, allocations: 20 kB / 0.714 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009024/0.3071, allocations: 0.8231 MB / 0.7148 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.3093, allocations: 2.235 MB / 0.717 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.3104, allocations: 0.5379 MB / 0.7175 GB, free: 6.316 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.3107, allocations: 174.2 kB / 0.7177 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/0.3108, allocations: 28.64 kB / 0.7177 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.3113, allocations: 497.5 kB / 0.7182 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=82): time 2.044e-06/0.3113, allocations: 0 / 0.7182 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.001506/0.3128, allocations: 0.821 MB / 0.719 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.3128, allocations: 188.6 kB / 0.7192 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.3133, allocations: 0.5737 MB / 0.7197 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.3133, allocations: 45.7 kB / 0.7198 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.3135, allocations: 487.7 kB / 0.7202 GB, free: 3.398 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.3139, allocations: 277.7 kB / 0.7205 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.3141, allocations: 176.2 kB / 0.7207 GB, free: 2.945 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3142, allocations: 0.5586 MB / 0.7212 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3145, allocations: 133.9 kB / 0.7213 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3148, allocations: 374.6 kB / 0.7217 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004879/0.3153, allocations: 385.2 kB / 0.7221 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3153, allocations: 0 / 0.7221 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009392/0.3162, allocations: 0.6372 MB / 0.7227 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3162, allocations: 4.625 kB / 0.7227 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3162, allocations: 0 / 0.7227 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/0.3167, allocations: 127.7 kB / 0.7228 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.317, allocations: 175.1 kB / 0.723 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.3183, allocations: 1.894 MB / 0.7248 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.3185, allocations: 77.72 kB / 0.7249 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.3186, allocations: 35.97 kB / 0.7249 GB, free: 14.35 MB / 0.5417 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.0002013/0.3188, allocations: 214.4 kB / 0.7251 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3189, allocations: 111.6 kB / 0.7253 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.3201, allocations: 0.838 MB / 0.7261 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.3201, allocations: 8 kB / 0.7261 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3201, allocations: 0 / 0.7261 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3201, allocations: 3.984 kB / 0.7261 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.322, allocations: 1.496 MB / 0.7275 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.322, allocations: 0 / 0.7275 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.3223, allocations: 147.8 kB / 0.7277 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003514/0.3227, allocations: 115.5 kB / 0.7278 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/0.3227, allocations: 31.05 kB / 0.7278 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.3238, allocations: 1.921 MB / 0.7297 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3238, allocations: 0 / 0.7297 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.3249, allocations: 0.8649 MB / 0.7305 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/0.3251, allocations: 200 kB / 0.7307 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.3252, allocations: 16 kB / 0.7307 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.3254, allocations: 47.91 kB / 0.7308 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3256, allocations: 76.84 kB / 0.7309 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.3256, allocations: 36.48 kB / 0.7309 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002985/0.3259, allocations: 391 kB / 0.7313 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.3259, allocations: 0 / 0.7313 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005225/0.3264, allocations: 362.9 kB / 0.7316 GB, free: 7.293 MB / 0.5417 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.001151/0.3276, allocations: 0.6339 MB / 0.7322 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008443/0.3284, allocations: 0.6557 MB / 0.7329 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3284, allocations: 0 / 0.7329 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004555/0.3289, allocations: 485.2 kB / 0.7333 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006909/0.3296, allocations: 329.1 kB / 0.7337 GB, free: 5.457 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.3318, allocations: 1.595 MB / 0.7352 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.332, allocations: 207.3 kB / 0.7354 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004576/0.3324, allocations: 250.5 kB / 0.7357 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3326, allocations: 108.4 kB / 0.7358 GB, free: 3.238 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/0.3326, allocations: 0 / 0.7358 GB, free: 3.238 MB / 0.5417 GB Notification: Performance of Templates: time 0.01705/0.3496, allocations: 15.61 MB / 0.751 GB, free: 3.926 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.353196643060073]