Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 116.8 kB / 17.09 MB, free: 5.984 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.001302/0.001302, allocations: 192.7 kB / 18.02 MB, free: 5.062 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.234/1.234, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6835/0.6835, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.59 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1404, allocations: 76.18 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006708/0.1471, allocations: 4.898 MB / 0.6375 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4688/0.6159, allocations: 150.6 MB / 0.7846 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008008/0.6168, allocations: 19.88 kB / 0.7846 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.6174, allocations: 194.2 kB / 0.7848 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.6189, allocations: 0.5558 MB / 0.7854 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.6207, allocations: 0.8514 MB / 0.7862 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001384/0.6221, allocations: 1.429 MB / 0.7876 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008112/0.6229, allocations: 0.5867 MB / 0.7882 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006413/0.6235, allocations: 0.4993 MB / 0.7886 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005618/0.6241, allocations: 0.5164 MB / 0.7891 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.6243, allocations: 122.8 kB / 0.7893 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009014/0.6252, allocations: 485.8 kB / 0.7897 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.6254, allocations: 304.4 kB / 0.79 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.6259, allocations: 0.5724 MB / 0.7906 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.6274, allocations: 1.666 MB / 0.7922 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6274, allocations: 1.594 kB / 0.7922 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6275, allocations: 0 / 0.7922 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.402e-05/0.6275, allocations: 4 kB / 0.7922 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00241/0.6299, allocations: 1.459 MB / 0.7936 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6299, allocations: 10.44 kB / 0.7936 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/0.6308, allocations: 185.5 kB / 0.7938 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.6319, allocations: 0.782 MB / 0.7946 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.502e-05/0.6319, allocations: 63.72 kB / 0.7946 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6321, allocations: 85.19 kB / 0.7947 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.6335, allocations: 0.9406 MB / 0.7956 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.6335, allocations: 3.938 kB / 0.7956 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/0.6336, allocations: 35.44 kB / 0.7957 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.6336, allocations: 20.62 kB / 0.7957 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.6351, allocations: 1.129 MB / 0.7968 GB, free: 11.74 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.003378/0.6385, allocations: 2.722 MB / 0.7995 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.6398, allocations: 0.9065 MB / 0.8003 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.6403, allocations: 315.2 kB / 0.8006 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.865e-05/0.6403, allocations: 32.03 kB / 0.8007 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007934/0.6411, allocations: 0.5137 MB / 0.8012 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.114e-06/0.6411, allocations: 0 / 0.8012 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.002883/0.644, allocations: 1.248 MB / 0.8024 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.6441, allocations: 202.4 kB / 0.8026 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.6448, allocations: 0.6424 MB / 0.8032 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-05/0.6449, allocations: 40.36 kB / 0.8033 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.6451, allocations: 401.2 kB / 0.8036 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.6453, allocations: 276.9 kB / 0.8039 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/0.6456, allocations: 171.3 kB / 0.8041 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6457, allocations: 400.8 kB / 0.8044 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.6462, allocations: 270.9 kB / 0.8047 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.6467, allocations: 375.7 kB / 0.8051 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/0.6477, allocations: 0.6309 MB / 0.8057 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6477, allocations: 0 / 0.8057 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001721/0.6495, allocations: 0.8757 MB / 0.8065 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6495, allocations: 5.344 kB / 0.8065 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6495, allocations: 2.531 kB / 0.8065 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000576/0.6501, allocations: 82.19 kB / 0.8066 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.6507, allocations: 167.9 kB / 0.8068 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.6527, allocations: 1.633 MB / 0.8084 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006881/0.6534, allocations: 98.44 kB / 0.8085 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.6534, allocations: 37.16 kB / 0.8085 GB, free: 6.488 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: 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 (99): * Single equations (assignments): 98 * 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.0003778/0.6538, allocations: 268.1 kB / 0.8088 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.654, allocations: 87.03 kB / 0.8088 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.6562, allocations: 1.139 MB / 0.81 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.6562, allocations: 7.344 kB / 0.81 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6563, allocations: 6.656 kB / 0.81 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6563, allocations: 3.984 kB / 0.81 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.6595, allocations: 2.013 MB / 0.8119 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.6595, allocations: 0 / 0.8119 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.66, allocations: 153.9 kB / 0.8121 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/0.6605, allocations: 74.47 kB / 0.8122 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/0.6606, allocations: 27.78 kB / 0.8122 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.6624, allocations: 1.67 MB / 0.8138 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6624, allocations: 0 / 0.8138 GB, free: 3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.6644, allocations: 1.047 MB / 0.8148 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/0.6649, allocations: 281.8 kB / 0.8151 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.6651, allocations: 23.34 kB / 0.8151 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/0.6659, allocations: 69.28 kB / 0.8152 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.666, allocations: 76.11 kB / 0.8153 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.6661, allocations: 41.59 kB / 0.8153 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005935/0.6667, allocations: 463.2 kB / 0.8158 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6667, allocations: 0 / 0.8158 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009566/0.6677, allocations: 333.6 kB / 0.8161 GB, free: 1.707 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 (99): * Single equations (assignments): 92 * 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.001416/0.6691, allocations: 0.6068 MB / 0.8167 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.6708, allocations: 0.8591 MB / 0.8175 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6708, allocations: 0 / 0.8175 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009211/0.6717, allocations: 0.5455 MB / 0.818 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.673, allocations: 307.1 kB / 0.8183 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.6761, allocations: 1.739 MB / 0.82 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/0.6767, allocations: 1.037 MB / 0.821 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.677, allocations: 123.2 kB / 0.8212 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.677, allocations: 0 / 0.8212 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.02526/0.7023, allocations: 19.15 MB / 0.8399 GB, free: 14.87 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)