Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005779/0.005779, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001265/0.001265, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 277.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9324/0.9324, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 91.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1721, allocations: 86.98 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005381/0.1775, allocations: 4.278 MB / 0.7705 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4806/0.6581, allocations: 150.5 MB / 0.9176 GB, free: 7.805 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007523/0.6589, allocations: 15.94 kB / 0.9176 GB, free: 7.789 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006685/0.6596, allocations: 169.4 kB / 0.9177 GB, free: 7.625 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001763/0.6614, allocations: 0.4934 MB / 0.9182 GB, free: 7.148 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.6634, allocations: 0.828 MB / 0.919 GB, free: 6.352 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001453/0.6648, allocations: 1.285 MB / 0.9203 GB, free: 5.059 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008966/0.6657, allocations: 0.6068 MB / 0.9209 GB, free: 4.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.6664, allocations: 474.3 kB / 0.9213 GB, free: 3.965 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.6671, allocations: 477.9 kB / 0.9218 GB, free: 3.496 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002502/0.6673, allocations: 112.6 kB / 0.9219 GB, free: 3.387 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009263/0.6683, allocations: 491.4 kB / 0.9224 GB, free: 2.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002919/0.6686, allocations: 291 kB / 0.9226 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005482/0.6691, allocations: 0.5246 MB / 0.9231 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.6708, allocations: 1.584 MB / 0.9247 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6708, allocations: 0 / 0.9247 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6708, allocations: 1.031 kB / 0.9247 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.6708, allocations: 0 / 0.9247 GB, free: 0.5156 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002146/0.673, allocations: 1.407 MB / 0.9261 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.673, allocations: 12.02 kB / 0.9261 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/0.6739, allocations: 183.4 kB / 0.9263 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.6749, allocations: 0.7542 MB / 0.927 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.601e-05/0.6749, allocations: 62 kB / 0.9271 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.675, allocations: 78.44 kB / 0.9271 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.6764, allocations: 0.9028 MB / 0.928 GB, free: 13 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.6765, allocations: 3.984 kB / 0.928 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.411e-05/0.6765, allocations: 39.75 kB / 0.928 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.6766, allocations: 27.92 kB / 0.9281 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.6782, allocations: 1.097 MB / 0.9291 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.6816, allocations: 2.428 MB / 0.9315 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.6829, allocations: 0.8606 MB / 0.9324 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004987/0.6835, allocations: 302.6 kB / 0.9326 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/0.6835, allocations: 36.58 kB / 0.9327 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007612/0.6843, allocations: 495 kB / 0.9332 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=79): time 2.445e-06/0.6843, allocations: 0 / 0.9332 GB, free: 7.613 MB / 0.6856 GB Notification: Performance of matching and sorting (n=79): time 0.00286/0.6872, allocations: 1.17 MB / 0.9343 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.6873, allocations: 196.6 kB / 0.9345 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.688, allocations: 0.6175 MB / 0.9351 GB, free: 5.559 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.688, allocations: 41.7 kB / 0.9351 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/0.6883, allocations: 396.4 kB / 0.9355 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.6885, allocations: 252.3 kB / 0.9357 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.6887, allocations: 158.5 kB / 0.9359 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6889, allocations: 382.8 kB / 0.9363 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.6893, allocations: 269.8 kB / 0.9365 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/0.6899, allocations: 355.1 kB / 0.9369 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/0.6909, allocations: 0.5955 MB / 0.9374 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6909, allocations: 0 / 0.9374 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001781/0.6927, allocations: 0.8371 MB / 0.9383 GB, free: 2.246 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.6928, allocations: 7.984 kB / 0.9383 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.6928, allocations: 0 / 0.9383 GB, free: 2.238 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005779/0.6933, allocations: 80.88 kB / 0.9383 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.694, allocations: 161 kB / 0.9385 GB, free: 2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.6958, allocations: 1.632 MB / 0.9401 GB, free: 232 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.6965, allocations: 89.73 kB / 0.9402 GB, free: 144 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.71e-05/0.6966, allocations: 39.97 kB / 0.9402 GB, free: 104 kB / 0.6856 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 (93): * Single equations (assignments): 92 * 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.0003922/0.697, allocations: 269.7 kB / 0.9405 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6971, allocations: 88.5 kB / 0.9406 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.6993, allocations: 1.045 MB / 0.9416 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.6993, allocations: 8 kB / 0.9416 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.6993, allocations: 0 / 0.9416 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6994, allocations: 3.984 kB / 0.9416 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002875/0.7022, allocations: 1.9 MB / 0.9434 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7022, allocations: 0 / 0.9434 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005335/0.7028, allocations: 147.8 kB / 0.9436 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/0.7032, allocations: 76.72 kB / 0.9437 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/0.7033, allocations: 19.98 kB / 0.9437 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.705, allocations: 1.662 MB / 0.9453 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.705, allocations: 8 kB / 0.9453 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.7068, allocations: 0.9785 MB / 0.9463 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003519/0.7072, allocations: 275.7 kB / 0.9465 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.7073, allocations: 20 kB / 0.9465 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.7079, allocations: 63.92 kB / 0.9466 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.7081, allocations: 64.91 kB / 0.9467 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.7081, allocations: 43.16 kB / 0.9467 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004862/0.7086, allocations: 443 kB / 0.9471 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7086, allocations: 4 kB / 0.9471 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007683/0.7094, allocations: 307.2 kB / 0.9474 GB, free: 8.453 MB / 0.7012 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 (90): * Single equations (assignments): 84 * 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.001238/0.7107, allocations: 0.6077 MB / 0.948 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.7122, allocations: 0.8206 MB / 0.9488 GB, free: 7.188 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.7122, allocations: 4 kB / 0.9488 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.7131, allocations: 0.5081 MB / 0.9493 GB, free: 6.664 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.7142, allocations: 294.4 kB / 0.9496 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.7176, allocations: 1.719 MB / 0.9513 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.7181, allocations: 1.019 MB / 0.9523 GB, free: 3.617 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0006941/0.7188, allocations: 258.5 kB / 0.9525 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.7191, allocations: 103.4 kB / 0.9526 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of SimCode: time 4.31e-07/0.7191, allocations: 0 / 0.9526 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of Templates: time 0.02239/0.7415, allocations: 14.99 MB / 0.9673 GB, free: 4.473 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)