Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001335/0.001335, allocations: 104 kB / 16.52 MB, free: 6.656 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.001331/0.001331, allocations: 198 kB / 17.44 MB, free: 6.047 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.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7152/0.7152, allocations: 115.3 MB / 406.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.91 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3307, allocations: 76.18 MB / 0.5564 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006368/0.3371, allocations: 5.11 MB / 0.5614 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1553/0.4925, allocations: 148.4 MB / 0.7062 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.4937, allocations: 15.94 kB / 0.7063 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009074/0.4946, allocations: 158.8 kB / 0.7064 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.4968, allocations: 486.4 kB / 0.7069 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.499, allocations: 0.7371 MB / 0.7076 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.5009, allocations: 1.343 MB / 0.7089 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.5019, allocations: 0.6275 MB / 0.7095 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008578/0.5028, allocations: 462.2 kB / 0.71 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008739/0.5037, allocations: 0.5093 MB / 0.7105 GB, free: 6.398 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002633/0.504, allocations: 68 kB / 0.7105 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.5052, allocations: 411.7 kB / 0.7109 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003765/0.5055, allocations: 262.9 kB / 0.7112 GB, free: 5.672 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000818/0.5064, allocations: 0.5361 MB / 0.7117 GB, free: 5.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.508, allocations: 1.282 MB / 0.7129 GB, free: 3.848 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.508, allocations: 7.938 kB / 0.7129 GB, free: 3.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.508, allocations: 0 / 0.7129 GB, free: 3.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.508, allocations: 0 / 0.7129 GB, free: 3.84 MB / 0.545 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.002917/0.5109, allocations: 1.488 MB / 0.7144 GB, free: 2.305 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.511, allocations: 15.95 kB / 0.7144 GB, free: 2.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.5122, allocations: 215.3 kB / 0.7146 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.5133, allocations: 0.75 MB / 0.7154 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.5134, allocations: 73.98 kB / 0.7154 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.5135, allocations: 88 kB / 0.7155 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.5153, allocations: 1.011 MB / 0.7165 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.5153, allocations: 7.922 kB / 0.7165 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.5154, allocations: 44 kB / 0.7165 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5155, allocations: 24 kB / 0.7166 GB, free: 0 / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.5174, allocations: 1.167 MB / 0.7177 GB, free: 14.84 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004609/0.522, allocations: 2.883 MB / 0.7205 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.5245, allocations: 0.9747 MB / 0.7215 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.5252, allocations: 314.7 kB / 0.7218 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/0.5253, allocations: 32.61 kB / 0.7218 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001042/0.5263, allocations: 0.5068 MB / 0.7223 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.5263, allocations: 0 / 0.7223 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.00338/0.5297, allocations: 1.221 MB / 0.7235 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5298, allocations: 204.4 kB / 0.7237 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008357/0.5307, allocations: 0.6448 MB / 0.7243 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/0.5308, allocations: 45.7 kB / 0.7244 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.5311, allocations: 420.3 kB / 0.7248 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.5313, allocations: 260.2 kB / 0.725 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.5316, allocations: 170.5 kB / 0.7252 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5318, allocations: 382.8 kB / 0.7255 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.5323, allocations: 277.8 kB / 0.7258 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.533, allocations: 375.1 kB / 0.7262 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.5342, allocations: 0.6228 MB / 0.7268 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5342, allocations: 0 / 0.7268 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002037/0.5363, allocations: 0.8798 MB / 0.7276 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.5363, allocations: 8 kB / 0.7276 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.5363, allocations: 0 / 0.7276 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/0.5369, allocations: 84.86 kB / 0.7277 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007088/0.5376, allocations: 163.8 kB / 0.7279 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.5397, allocations: 1.524 MB / 0.7294 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007767/0.5405, allocations: 99.38 kB / 0.7295 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.5406, allocations: 39.97 kB / 0.7295 GB, free: 2.297 MB / 0.5606 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.0004723/0.5411, allocations: 275.5 kB / 0.7298 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.5412, allocations: 86.95 kB / 0.7298 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.5437, allocations: 1.097 MB / 0.7309 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.5438, allocations: 15.98 kB / 0.7309 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5438, allocations: 3.938 kB / 0.7309 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.5438, allocations: 3.984 kB / 0.7309 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.5472, allocations: 1.992 MB / 0.7329 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5472, allocations: 0 / 0.7329 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006382/0.5479, allocations: 151.8 kB / 0.733 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.5484, allocations: 80.78 kB / 0.7331 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.727e-05/0.5485, allocations: 27.97 kB / 0.7331 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001903/0.5504, allocations: 1.552 MB / 0.7346 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5504, allocations: 3.938 kB / 0.7346 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/0.5526, allocations: 1.023 MB / 0.7356 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004485/0.5531, allocations: 271.7 kB / 0.7359 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.5532, allocations: 24 kB / 0.7359 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006974/0.5539, allocations: 69.73 kB / 0.736 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.5541, allocations: 72.89 kB / 0.7361 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.662e-05/0.5542, allocations: 43.97 kB / 0.7361 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005942/0.5548, allocations: 463 kB / 0.7365 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5548, allocations: 0 / 0.7365 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009505/0.5558, allocations: 339.1 kB / 0.7369 GB, free: 10.48 MB / 0.5762 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.001406/0.5572, allocations: 0.6071 MB / 0.7375 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.5591, allocations: 0.8546 MB / 0.7383 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5591, allocations: 0 / 0.7383 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009783/0.5601, allocations: 0.5316 MB / 0.7388 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.5614, allocations: 285.9 kB / 0.7391 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.5647, allocations: 2.213 MB / 0.7413 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.5653, allocations: 1.04 MB / 0.7423 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.5657, allocations: 115.4 kB / 0.7424 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of SimCode: time 2.815e-06/0.5657, allocations: 4 kB / 0.7424 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of Templates: time 0.3055/0.8712, allocations: 19.3 MB / 0.7612 GB, free: 37.62 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1)