Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007838/0.007838, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001391/0.001391, allocations: 189.8 kB / 16.67 MB, free: 5.871 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 286.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9873/0.9873, allocations: 169.2 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 91.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4911, allocations: 86.98 MB / 0.7664 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006136/0.4973, allocations: 4.494 MB / 0.7708 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.6665, allocations: 150.7 MB / 0.9179 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.6677, allocations: 15.94 kB / 0.9179 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009215/0.6687, allocations: 182.3 kB / 0.9181 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.6711, allocations: 0.5216 MB / 0.9186 GB, free: 7.395 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.6737, allocations: 0.8744 MB / 0.9195 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.6757, allocations: 1.398 MB / 0.9208 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.6768, allocations: 0.6294 MB / 0.9214 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009379/0.6777, allocations: 0.506 MB / 0.9219 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009593/0.6787, allocations: 0.5289 MB / 0.9225 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002889/0.679, allocations: 120 kB / 0.9226 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.6801, allocations: 0.5034 MB / 0.9231 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002803/0.6804, allocations: 311 kB / 0.9234 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005163/0.6809, allocations: 0.5713 MB / 0.9239 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.6828, allocations: 1.698 MB / 0.9256 GB, free: 236 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.6828, allocations: 0 / 0.9256 GB, free: 236 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6828, allocations: 3.938 kB / 0.9256 GB, free: 232 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6829, allocations: 4 kB / 0.9256 GB, free: 228 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002443/0.6853, allocations: 1.524 MB / 0.9271 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6854, allocations: 12.03 kB / 0.9271 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008883/0.6863, allocations: 196 kB / 0.9273 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.6874, allocations: 0.7864 MB / 0.928 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.6874, allocations: 66 kB / 0.9281 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.6875, allocations: 88 kB / 0.9282 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.6891, allocations: 0.9846 MB / 0.9291 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.6891, allocations: 0 / 0.9291 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/0.6892, allocations: 36 kB / 0.9292 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.6892, allocations: 31.92 kB / 0.9292 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.691, allocations: 1.155 MB / 0.9303 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.6949, allocations: 2.68 MB / 0.933 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.6969, allocations: 0.9812 MB / 0.9339 GB, free: 7.457 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/0.6974, allocations: 322.6 kB / 0.9342 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/0.6975, allocations: 36.67 kB / 0.9343 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008763/0.6984, allocations: 0.5451 MB / 0.9348 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.334e-06/0.6984, allocations: 0 / 0.9348 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003069/0.7015, allocations: 1.298 MB / 0.9361 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.7016, allocations: 188.9 kB / 0.9362 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.7024, allocations: 0.6567 MB / 0.9369 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.7024, allocations: 41.7 kB / 0.9369 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.7027, allocations: 409.2 kB / 0.9373 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.7029, allocations: 301.5 kB / 0.9376 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/0.7032, allocations: 182.6 kB / 0.9378 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.7034, allocations: 390.8 kB / 0.9381 GB, free: 3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.7039, allocations: 285.8 kB / 0.9384 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/0.7045, allocations: 391.1 kB / 0.9388 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.7057, allocations: 0.6515 MB / 0.9394 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7057, allocations: 0 / 0.9394 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001926/0.7076, allocations: 0.9271 MB / 0.9403 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.7077, allocations: 8 kB / 0.9403 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7077, allocations: 96 / 0.9403 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/0.7082, allocations: 76.78 kB / 0.9404 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/0.709, allocations: 187.7 kB / 0.9406 GB, free: 464 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.711, allocations: 1.622 MB / 0.9422 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/0.7118, allocations: 110.2 kB / 0.9423 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.74e-05/0.7119, allocations: 39.97 kB / 0.9423 GB, free: 14.54 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0004225/0.7123, allocations: 278.3 kB / 0.9426 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.7125, allocations: 99.42 kB / 0.9427 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.7149, allocations: 1.183 MB / 0.9438 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.7149, allocations: 15.98 kB / 0.9438 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.7149, allocations: 0 / 0.9438 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.7149, allocations: 3.984 kB / 0.9439 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003234/0.7182, allocations: 2.107 MB / 0.9459 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7182, allocations: 4 kB / 0.9459 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/0.7188, allocations: 159.8 kB / 0.9461 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/0.7192, allocations: 72.8 kB / 0.9461 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.7193, allocations: 31.97 kB / 0.9462 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.7211, allocations: 1.67 MB / 0.9478 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.7211, allocations: 0 / 0.9478 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.7232, allocations: 1.096 MB / 0.9489 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.7236, allocations: 296.1 kB / 0.9491 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.7238, allocations: 19.95 kB / 0.9492 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/0.7245, allocations: 75.92 kB / 0.9492 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/0.7247, allocations: 84.81 kB / 0.9493 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/0.7248, allocations: 43.97 kB / 0.9494 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005937/0.7254, allocations: 467 kB / 0.9498 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7254, allocations: 0 / 0.9498 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009947/0.7264, allocations: 351 kB / 0.9501 GB, free: 6.27 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001523/0.7279, allocations: 0.6275 MB / 0.9508 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.7299, allocations: 0.9016 MB / 0.9516 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.7299, allocations: 0 / 0.9516 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.7309, allocations: 0.5626 MB / 0.9522 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.7322, allocations: 300 kB / 0.9525 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.7364, allocations: 1.871 MB / 0.9543 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.7372, allocations: 1.048 MB / 0.9553 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009108/0.7381, allocations: 282.9 kB / 0.9556 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.7384, allocations: 115.4 kB / 0.9557 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of SimCode: time 6.92e-07/0.7384, allocations: 8 kB / 0.9557 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of Templates: time 0.4459/1.184, allocations: 15.91 MB / 0.9712 GB, free: 181.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)