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.0009996/0.0009996, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007372/0.007372, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 267.1 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 13.25 kB / 0.5987 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1492, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004776/0.154, allocations: 4.083 MB / 0.6891 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.413/0.5671, allocations: 146.8 MB / 0.8324 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.5675, allocations: 18.94 kB / 0.8325 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.5679, allocations: 144.2 kB / 0.8326 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.5691, allocations: 453.6 kB / 0.833 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.5706, allocations: 0.7579 MB / 0.8338 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.5718, allocations: 1.29 MB / 0.835 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008802/0.5727, allocations: 0.605 MB / 0.8356 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006185/0.5733, allocations: 373.1 kB / 0.836 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004577/0.5738, allocations: 414.9 kB / 0.8364 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.167e-05/0.5739, allocations: 31.94 kB / 0.8364 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000701/0.5746, allocations: 390.5 kB / 0.8368 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.5748, allocations: 197.2 kB / 0.837 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.5752, allocations: 488.9 kB / 0.8374 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.5766, allocations: 1.551 MB / 0.8389 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5766, allocations: 3.406 kB / 0.8389 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.055e-06/0.5766, allocations: 0 / 0.8389 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.5766, allocations: 3.938 kB / 0.8389 GB, free: 8.496 MB / 0.5606 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.002293/0.5789, allocations: 1.261 MB / 0.8402 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.579, allocations: 9.469 kB / 0.8402 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008832/0.5798, allocations: 201.9 kB / 0.8404 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009765/0.5808, allocations: 0.7668 MB / 0.8411 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.731e-05/0.5809, allocations: 67.47 kB / 0.8412 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.581, allocations: 89.11 kB / 0.8413 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.5826, allocations: 0.9784 MB / 0.8422 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.5827, allocations: 0 / 0.8422 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/0.5828, allocations: 35.19 kB / 0.8423 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.5828, allocations: 28.03 kB / 0.8423 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.5846, allocations: 1.167 MB / 0.8434 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.5888, allocations: 2.741 MB / 0.8461 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.5909, allocations: 0.9897 MB / 0.8471 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.5914, allocations: 328.9 kB / 0.8474 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.947e-05/0.5915, allocations: 30.03 kB / 0.8474 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008963/0.5924, allocations: 0.5444 MB / 0.8479 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=88): time 2.795e-06/0.5924, allocations: 2.219 kB / 0.8479 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88): time 0.003158/0.5956, allocations: 1.305 MB / 0.8492 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.5957, allocations: 193.2 kB / 0.8494 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/0.5965, allocations: 0.6546 MB / 0.85 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.009e-05/0.5965, allocations: 47.39 kB / 0.8501 GB, free: 1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.5968, allocations: 410.1 kB / 0.8505 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.5971, allocations: 279.4 kB / 0.8507 GB, free: 408 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.5972, allocations: 73.23 kB / 0.8508 GB, free: 356 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.5974, allocations: 389.8 kB / 0.8512 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.5979, allocations: 294.2 kB / 0.8515 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.5986, allocations: 393.1 kB / 0.8518 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.5997, allocations: 0.6618 MB / 0.8525 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5997, allocations: 0 / 0.8525 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002013/0.6018, allocations: 0.9302 MB / 0.8534 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6018, allocations: 5.844 kB / 0.8534 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.6018, allocations: 3.938 kB / 0.8534 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.6024, allocations: 83.47 kB / 0.8535 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.6031, allocations: 175.4 kB / 0.8537 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.6052, allocations: 1.531 MB / 0.8552 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.606, allocations: 120.7 kB / 0.8553 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.762e-05/0.6061, allocations: 40.88 kB / 0.8553 GB, free: 13.12 MB / 0.5762 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.0004425/0.6065, allocations: 282.1 kB / 0.8556 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.6067, allocations: 84.53 kB / 0.8557 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.6093, allocations: 1.199 MB / 0.8568 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6093, allocations: 14.81 kB / 0.8568 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6093, allocations: 0 / 0.8568 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.6093, allocations: 3.984 kB / 0.8568 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.6126, allocations: 2.117 MB / 0.8589 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6126, allocations: 4 kB / 0.8589 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/0.6133, allocations: 172.4 kB / 0.8591 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005383/0.6138, allocations: 84.95 kB / 0.8592 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.6139, allocations: 30.83 kB / 0.8592 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.6156, allocations: 1.546 MB / 0.8607 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6157, allocations: 11.98 kB / 0.8607 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.6177, allocations: 1.087 MB / 0.8618 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.6181, allocations: 302.6 kB / 0.8621 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.6182, allocations: 21.09 kB / 0.8621 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007534/0.6189, allocations: 85.27 kB / 0.8622 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.6191, allocations: 83.66 kB / 0.8622 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.6192, allocations: 43.53 kB / 0.8623 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005285/0.6197, allocations: 471.9 kB / 0.8627 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6197, allocations: 0 / 0.8627 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008314/0.6206, allocations: 340.5 kB / 0.8631 GB, free: 7.855 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: 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.001327/0.6219, allocations: 0.6198 MB / 0.8637 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001661/0.6236, allocations: 0.9071 MB / 0.8646 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.6236, allocations: 0 / 0.8646 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009305/0.6245, allocations: 0.5772 MB / 0.8651 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.6258, allocations: 278.7 kB / 0.8654 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.6301, allocations: 2.371 MB / 0.8677 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005855/0.6307, allocations: 1.047 MB / 0.8687 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008776/0.6316, allocations: 279 kB / 0.869 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/0.6319, allocations: 115.4 kB / 0.8691 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.6319, allocations: 0 / 0.8691 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of Templates: time 0.02394/0.6558, allocations: 14.96 MB / 0.8837 GB, free: 3.988 MB / 0.5919 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)