Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 108.3 kB / 16.4 MB, free: 6.434 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.00112/0.001121, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7441/0.7441, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.78 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1573, allocations: 76.19 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00658/0.164, allocations: 4.924 MB / 0.6369 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5263/0.6903, allocations: 150.6 MB / 0.784 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.6912, allocations: 21.44 kB / 0.784 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.6918, allocations: 196.2 kB / 0.7842 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.6934, allocations: 0.5496 MB / 0.7847 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.6951, allocations: 0.8586 MB / 0.7856 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001389/0.6965, allocations: 1.425 MB / 0.787 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.6974, allocations: 0.5887 MB / 0.7875 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000677/0.6981, allocations: 0.5071 MB / 0.788 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005536/0.6986, allocations: 0.5191 MB / 0.7885 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.6988, allocations: 118.7 kB / 0.7886 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.6997, allocations: 490.2 kB / 0.7891 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.7, allocations: 300.5 kB / 0.7894 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004617/0.7004, allocations: 0.5785 MB / 0.79 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.7022, allocations: 1.668 MB / 0.7916 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.7022, allocations: 0 / 0.7916 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.392e-06/0.7022, allocations: 0 / 0.7916 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.7022, allocations: 5.25 kB / 0.7916 GB, free: 13.13 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002565/0.7048, allocations: 1.467 MB / 0.793 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.7048, allocations: 15.44 kB / 0.793 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.7058, allocations: 189.6 kB / 0.7932 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.707, allocations: 0.7724 MB / 0.794 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.707, allocations: 66.06 kB / 0.794 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.71e-05/0.7071, allocations: 88.16 kB / 0.7941 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.7086, allocations: 0.9433 MB / 0.795 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.7087, allocations: 6.562 kB / 0.7951 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/0.7088, allocations: 35.97 kB / 0.7951 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.7088, allocations: 21.38 kB / 0.7951 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.7105, allocations: 1.127 MB / 0.7962 GB, free: 11.73 MB / 0.5919 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.003879/0.7143, allocations: 2.732 MB / 0.7989 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.7158, allocations: 0.914 MB / 0.7998 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.7163, allocations: 314.4 kB / 0.8001 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.7164, allocations: 33.83 kB / 0.8001 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008399/0.7173, allocations: 0.5225 MB / 0.8006 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.345e-06/0.7173, allocations: 0 / 0.8006 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.003142/0.7204, allocations: 1.259 MB / 0.8018 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.837e-05/0.7205, allocations: 194.9 kB / 0.802 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.7213, allocations: 0.6348 MB / 0.8026 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.7213, allocations: 48.66 kB / 0.8027 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.7216, allocations: 398.2 kB / 0.8031 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.7218, allocations: 273.3 kB / 0.8033 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.7221, allocations: 177.3 kB / 0.8035 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7222, allocations: 390.8 kB / 0.8039 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.7227, allocations: 285.9 kB / 0.8041 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005822/0.7233, allocations: 378.7 kB / 0.8045 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.7244, allocations: 0.6341 MB / 0.8051 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7244, allocations: 0 / 0.8051 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001898/0.7263, allocations: 0.8884 MB / 0.806 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7263, allocations: 8.812 kB / 0.806 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.7263, allocations: 2.688 kB / 0.806 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/0.7269, allocations: 82.59 kB / 0.8061 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.7276, allocations: 175.2 kB / 0.8063 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.7297, allocations: 1.636 MB / 0.8079 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008456/0.7305, allocations: 98.28 kB / 0.8079 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/0.7306, allocations: 40.56 kB / 0.808 GB, free: 6.449 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (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,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 (101): * Single equations (assignments): 100 * 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.000611/0.7312, allocations: 274.1 kB / 0.8082 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.7314, allocations: 85.81 kB / 0.8083 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.7339, allocations: 1.14 MB / 0.8094 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.7339, allocations: 14.09 kB / 0.8095 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7339, allocations: 4 kB / 0.8095 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.7339, allocations: 3.984 kB / 0.8095 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.7374, allocations: 2.025 MB / 0.8114 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.7374, allocations: 0 / 0.8114 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/0.738, allocations: 157.4 kB / 0.8116 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000458/0.7385, allocations: 74.69 kB / 0.8117 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.13e-05/0.7386, allocations: 25.55 kB / 0.8117 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.7406, allocations: 1.657 MB / 0.8133 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7406, allocations: 0 / 0.8133 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002169/0.7428, allocations: 1.06 MB / 0.8143 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004368/0.7433, allocations: 278 kB / 0.8146 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.7434, allocations: 21.28 kB / 0.8146 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.7441, allocations: 68.7 kB / 0.8147 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.7443, allocations: 75.95 kB / 0.8148 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.7444, allocations: 41.12 kB / 0.8148 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005816/0.7449, allocations: 459.8 kB / 0.8152 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7449, allocations: 0 / 0.8152 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009524/0.7459, allocations: 336.2 kB / 0.8156 GB, free: 1.625 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 (100): * Single equations (assignments): 93 * 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.001324/0.7472, allocations: 0.5987 MB / 0.8161 GB, free: 1.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.7489, allocations: 0.8814 MB / 0.817 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7489, allocations: 0 / 0.817 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008993/0.7499, allocations: 0.5398 MB / 0.8175 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.7511, allocations: 312.4 kB / 0.8178 GB, free: 448 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.754, allocations: 1.702 MB / 0.8195 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.7546, allocations: 1.029 MB / 0.8205 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007524/0.7554, allocations: 272.9 kB / 0.8208 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/0.7556, allocations: 104.5 kB / 0.8209 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.7556, allocations: 0 / 0.8209 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of Templates: time 0.02973/0.7854, allocations: 16.08 MB / 0.8366 GB, free: 1.695 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)