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.001673/0.001673, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001431/0.001431, allocations: 197.8 kB / 16.14 MB, free: 6.723 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00255/0.00255, allocations: 282.9 kB / 290.2 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002809/0.002809, allocations: 102.2 kB / 0.6057 GB, free: 25.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.2006, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00761/0.2082, allocations: 5.01 MB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5021/0.7103, allocations: 148.4 MB / 0.8426 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.7112, allocations: 21.03 kB / 0.8426 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.7118, allocations: 160 kB / 0.8428 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.7133, allocations: 485.8 kB / 0.8433 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.7151, allocations: 0.7609 MB / 0.844 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00133/0.7165, allocations: 1.37 MB / 0.8453 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008772/0.7173, allocations: 0.5831 MB / 0.8459 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000586/0.7179, allocations: 446.4 kB / 0.8463 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005978/0.7185, allocations: 0.5079 MB / 0.8468 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.7187, allocations: 57.34 kB / 0.8469 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007888/0.7195, allocations: 428.5 kB / 0.8473 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/0.7197, allocations: 255.5 kB / 0.8475 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005039/0.7203, allocations: 0.5295 MB / 0.848 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.7219, allocations: 1.621 MB / 0.8496 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7219, allocations: 0 / 0.8496 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.32e-07/0.7219, allocations: 0 / 0.8496 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.7219, allocations: 0 / 0.8496 GB, free: 4.742 MB / 0.5762 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.002816/0.7247, allocations: 1.491 MB / 0.8511 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.7248, allocations: 14.81 kB / 0.8511 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009017/0.7257, allocations: 190.3 kB / 0.8513 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.7268, allocations: 0.7716 MB / 0.852 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.7269, allocations: 66.16 kB / 0.8521 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.727, allocations: 88.88 kB / 0.8522 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.7287, allocations: 0.9771 MB / 0.8531 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.7287, allocations: 2.812 kB / 0.8531 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.7288, allocations: 35.38 kB / 0.8532 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.7288, allocations: 26.17 kB / 0.8532 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.7306, allocations: 1.156 MB / 0.8543 GB, free: 1.578 MB / 0.5762 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.004472/0.7351, allocations: 2.92 MB / 0.8572 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.7372, allocations: 0.9926 MB / 0.8581 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.7378, allocations: 321.8 kB / 0.8585 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.7379, allocations: 35.12 kB / 0.8585 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009829/0.7389, allocations: 0.5365 MB / 0.859 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.295e-06/0.7389, allocations: 0 / 0.859 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003267/0.7422, allocations: 1.302 MB / 0.8603 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.7423, allocations: 195.3 kB / 0.8605 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/0.7431, allocations: 0.6512 MB / 0.8611 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.7432, allocations: 42.42 kB / 0.8611 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.7435, allocations: 407.3 kB / 0.8615 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.7438, allocations: 283.1 kB / 0.8618 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.7441, allocations: 182 kB / 0.862 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.7443, allocations: 396.1 kB / 0.8624 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.7448, allocations: 292 kB / 0.8626 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006618/0.7455, allocations: 396.7 kB / 0.863 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.7467, allocations: 0.65 MB / 0.8636 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7467, allocations: 0 / 0.8636 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002029/0.7487, allocations: 0.9124 MB / 0.8645 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7488, allocations: 5.375 kB / 0.8645 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.433e-06/0.7488, allocations: 0 / 0.8645 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006047/0.7494, allocations: 85.92 kB / 0.8646 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.7501, allocations: 182.9 kB / 0.8648 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.7523, allocations: 1.524 MB / 0.8663 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008518/0.7531, allocations: 109.2 kB / 0.8664 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.7532, allocations: 44.33 kB / 0.8664 GB, free: 8.883 MB / 0.5919 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.0004563/0.7537, allocations: 273.5 kB / 0.8667 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.7539, allocations: 85.97 kB / 0.8668 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.7566, allocations: 1.199 MB / 0.868 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.7566, allocations: 9.938 kB / 0.868 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7566, allocations: 3.938 kB / 0.868 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.7566, allocations: 10.88 kB / 0.868 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.7602, allocations: 2.082 MB / 0.87 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.7603, allocations: 0 / 0.87 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006877/0.761, allocations: 167.8 kB / 0.8702 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.7615, allocations: 88.7 kB / 0.8703 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.7616, allocations: 27.98 kB / 0.8703 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.7637, allocations: 1.552 MB / 0.8718 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7637, allocations: 5.266 kB / 0.8718 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.766, allocations: 1.078 MB / 0.8729 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.7665, allocations: 299.5 kB / 0.8731 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.7666, allocations: 28 kB / 0.8732 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007532/0.7674, allocations: 72.62 kB / 0.8732 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.7676, allocations: 80.88 kB / 0.8733 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.81e-05/0.7677, allocations: 39.97 kB / 0.8733 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006467/0.7684, allocations: 475 kB / 0.8738 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7684, allocations: 0 / 0.8738 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001024/0.7694, allocations: 351.2 kB / 0.8741 GB, free: 1.734 MB / 0.5919 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.002028/0.7714, allocations: 0.623 MB / 0.8747 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.7734, allocations: 0.8982 MB / 0.8756 GB, free: 380 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7734, allocations: 4 kB / 0.8756 GB, free: 376 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.7745, allocations: 0.5549 MB / 0.8762 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.7757, allocations: 284.4 kB / 0.8764 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.7792, allocations: 2.21 MB / 0.8786 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007146/0.7799, allocations: 1.048 MB / 0.8796 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009007/0.7809, allocations: 283.1 kB / 0.8799 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/0.7812, allocations: 111.4 kB / 0.88 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.7812, allocations: 4 kB / 0.88 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of Templates: time 0.02791/0.8091, allocations: 15.42 MB / 0.8951 GB, free: 12.62 MB / 0.6231 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)