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.001617/0.001617, allocations: 110.5 kB / 16.41 MB, free: 6.516 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.001301/0.001301, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 284.9 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.9854/0.9854, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 91.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.5002, allocations: 86.98 MB / 0.767 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006541/0.5067, allocations: 4.509 MB / 0.7714 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1998/0.7065, allocations: 151.1 MB / 0.919 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.7075, allocations: 19.88 kB / 0.919 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006414/0.7082, allocations: 178.3 kB / 0.9192 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.7101, allocations: 0.5292 MB / 0.9197 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.7125, allocations: 0.8743 MB / 0.9206 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.7142, allocations: 1.386 MB / 0.9219 GB, free: 4.711 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008217/0.715, allocations: 476.6 kB / 0.9224 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007583/0.7158, allocations: 0.51 MB / 0.9229 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.7164, allocations: 0.5289 MB / 0.9234 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.7166, allocations: 124 kB / 0.9235 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.7177, allocations: 0.4996 MB / 0.924 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.718, allocations: 315 kB / 0.9243 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005395/0.7185, allocations: 0.5712 MB / 0.9249 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.7207, allocations: 1.698 MB / 0.9265 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7207, allocations: 4 kB / 0.9265 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7207, allocations: 0 / 0.9265 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.7208, allocations: 0 / 0.9265 GB, free: 15.97 MB / 0.7012 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.002928/0.7237, allocations: 1.52 MB / 0.928 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.7237, allocations: 16.02 kB / 0.928 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009626/0.7247, allocations: 192 kB / 0.9282 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.7259, allocations: 0.8019 MB / 0.929 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/0.726, allocations: 70 kB / 0.9291 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.7262, allocations: 91.98 kB / 0.9291 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.7279, allocations: 0.9769 MB / 0.9301 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.7279, allocations: 0 / 0.9301 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.82e-05/0.728, allocations: 36 kB / 0.9301 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.728, allocations: 27.98 kB / 0.9302 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001963/0.73, allocations: 1.155 MB / 0.9313 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.7346, allocations: 2.668 MB / 0.9339 GB, free: 8.215 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.7368, allocations: 0.938 MB / 0.9348 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.7374, allocations: 298.7 kB / 0.9351 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.062e-05/0.7375, allocations: 36.59 kB / 0.9351 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009726/0.7385, allocations: 0.5373 MB / 0.9356 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=88): time 2.885e-06/0.7385, allocations: 0 / 0.9356 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88): time 0.003493/0.742, allocations: 1.294 MB / 0.9369 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.7421, allocations: 192.9 kB / 0.9371 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009363/0.743, allocations: 0.6567 MB / 0.9377 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.197e-05/0.7431, allocations: 41.7 kB / 0.9378 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003951/0.7435, allocations: 413.2 kB / 0.9382 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.7438, allocations: 297.5 kB / 0.9385 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.7441, allocations: 174.6 kB / 0.9386 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002285/0.7443, allocations: 402.6 kB / 0.939 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005812/0.7449, allocations: 285.8 kB / 0.9393 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.7456, allocations: 391.1 kB / 0.9397 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.7468, allocations: 0.6516 MB / 0.9403 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.7468, allocations: 0 / 0.9403 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002213/0.7491, allocations: 0.9194 MB / 0.9412 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.7491, allocations: 4 kB / 0.9412 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7491, allocations: 3.984 kB / 0.9412 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006403/0.7497, allocations: 84.78 kB / 0.9413 GB, free: 476 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.7505, allocations: 175.8 kB / 0.9414 GB, free: 300 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.7528, allocations: 1.642 MB / 0.943 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/0.7537, allocations: 109.9 kB / 0.9431 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.432e-05/0.7538, allocations: 43.95 kB / 0.9432 GB, free: 14.36 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.0005525/0.7543, allocations: 266.3 kB / 0.9434 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.7545, allocations: 91.44 kB / 0.9435 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002713/0.7572, allocations: 1.187 MB / 0.9447 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.7572, allocations: 12 kB / 0.9447 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.7572, allocations: 0 / 0.9447 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.7572, allocations: 7.969 kB / 0.9447 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/0.7609, allocations: 2.104 MB / 0.9468 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7609, allocations: 0 / 0.9468 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.7616, allocations: 171.7 kB / 0.9469 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/0.7621, allocations: 76.78 kB / 0.947 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.7621, allocations: 27.97 kB / 0.947 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.7643, allocations: 1.658 MB / 0.9486 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7643, allocations: 0 / 0.9486 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.7666, allocations: 1.104 MB / 0.9497 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.7671, allocations: 288.2 kB / 0.95 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.7672, allocations: 23.95 kB / 0.95 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007116/0.7679, allocations: 71.92 kB / 0.9501 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.7681, allocations: 92.75 kB / 0.9502 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.7682, allocations: 35.98 kB / 0.9502 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006699/0.7688, allocations: 475 kB / 0.9507 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7688, allocations: 0 / 0.9507 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001055/0.7699, allocations: 343.1 kB / 0.951 GB, free: 6.105 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.002063/0.772, allocations: 0.6217 MB / 0.9516 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.774, allocations: 0.8742 MB / 0.9525 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.774, allocations: 0 / 0.9525 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.775, allocations: 0.5236 MB / 0.953 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.7763, allocations: 306.7 kB / 0.9533 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.7807, allocations: 1.882 MB / 0.9551 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007422/0.7814, allocations: 1.044 MB / 0.9561 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008608/0.7823, allocations: 282.9 kB / 0.9564 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002968/0.7826, allocations: 115.4 kB / 0.9565 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/0.7826, allocations: 0 / 0.9565 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of Templates: time 0.4853/1.268, allocations: 15.97 MB / 0.9721 GB, free: 181.2 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)