Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7771/0.7771, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001052, allocations: 179.8 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009471, allocations: 92.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 281 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.293e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4616/0.4617, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.422/4.883, allocations: 1.69 GB / 2.448 GB, free: 96.65 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/4.884, allocations: 103.8 kB / 2.448 GB, free: 96.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/5.01, allocations: 58.38 MB / 2.505 GB, free: 37.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/5.01, allocations: 0 / 2.505 GB, free: 37.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001065/5.01, allocations: 24 kB / 2.505 GB, free: 37.91 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002491/5.013, allocations: 1.062 MB / 2.506 GB, free: 36.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/5.013, allocations: 8.031 kB / 2.506 GB, free: 36.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/5.014, allocations: 186.6 kB / 2.506 GB, free: 36.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/5.016, allocations: 0.6152 MB / 2.507 GB, free: 35.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/5.016, allocations: 24 kB / 2.507 GB, free: 35.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/5.016, allocations: 48 kB / 2.507 GB, free: 35.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001439/5.017, allocations: 0.9757 MB / 2.508 GB, free: 34.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/5.018, allocations: 0.7194 MB / 2.508 GB, free: 34.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/5.018, allocations: 0 / 2.508 GB, free: 34.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/5.019, allocations: 8 kB / 2.508 GB, free: 34.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/5.019, allocations: 20 kB / 2.508 GB, free: 34.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003448/5.022, allocations: 2.263 MB / 2.511 GB, free: 31.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009262/5.023, allocations: 0.7176 MB / 2.511 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/5.023, allocations: 238.5 kB / 2.511 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-05/5.023, allocations: 32.58 kB / 2.512 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005223/5.024, allocations: 387.5 kB / 2.512 GB, free: 30.38 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 1.914e-06/5.024, allocations: 4 kB / 2.512 GB, free: 30.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.001423/5.025, allocations: 0.634 MB / 2.513 GB, free: 29.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/5.025, allocations: 248 kB / 2.513 GB, free: 29.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006184/5.026, allocations: 0.4906 MB / 2.513 GB, free: 28.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/5.026, allocations: 29.7 kB / 2.513 GB, free: 28.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/5.026, allocations: 372.2 kB / 2.514 GB, free: 28.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/5.026, allocations: 232.5 kB / 2.514 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/5.026, allocations: 0 / 2.514 GB, free: 28.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001106/5.027, allocations: 370.8 kB / 2.514 GB, free: 27.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/5.027, allocations: 181.5 kB / 2.514 GB, free: 27.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/5.027, allocations: 291.5 kB / 2.515 GB, free: 27.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/5.027, allocations: 228.4 kB / 2.515 GB, free: 27.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/5.027, allocations: 0 / 2.515 GB, free: 27.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001178/5.029, allocations: 0.6407 MB / 2.515 GB, free: 26.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/5.029, allocations: 9.406 kB / 2.515 GB, free: 26.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/5.029, allocations: 80 / 2.515 GB, free: 26.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/5.029, allocations: 88.78 kB / 2.516 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/5.03, allocations: 131.8 kB / 2.516 GB, free: 26.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/5.031, allocations: 1.453 MB / 2.517 GB, free: 24.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/5.032, allocations: 63.59 kB / 2.517 GB, free: 24.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/5.032, allocations: 23.98 kB / 2.517 GB, free: 24.67 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001747/5.032, allocations: 125 kB / 2.517 GB, free: 24.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/5.032, allocations: 71.16 kB / 2.517 GB, free: 24.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/5.034, allocations: 0.9025 MB / 2.518 GB, free: 23.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/5.034, allocations: 11.94 kB / 2.518 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/5.034, allocations: 7.984 kB / 2.518 GB, free: 23.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/5.034, allocations: 3.984 kB / 2.518 GB, free: 23.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/5.037, allocations: 1.687 MB / 2.52 GB, free: 21.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/5.037, allocations: 0 / 2.52 GB, free: 21.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/5.038, allocations: 147.8 kB / 2.52 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004861/5.039, allocations: 80.78 kB / 2.52 GB, free: 21.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/5.039, allocations: 15.98 kB / 2.52 GB, free: 21.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/5.04, allocations: 1.481 MB / 2.522 GB, free: 19.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/5.04, allocations: 3.953 kB / 2.522 GB, free: 19.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/5.042, allocations: 0.8221 MB / 2.522 GB, free: 19.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/5.042, allocations: 271.8 kB / 2.523 GB, free: 18.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/5.043, allocations: 11.95 kB / 2.523 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/5.043, allocations: 51.94 kB / 2.523 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/5.043, allocations: 56.7 kB / 2.523 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/5.043, allocations: 35.97 kB / 2.523 GB, free: 18.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004933/5.044, allocations: 398.9 kB / 2.523 GB, free: 18.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.044, allocations: 4 kB / 2.523 GB, free: 18.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00116/5.045, allocations: 327 kB / 2.524 GB, free: 17.95 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002072/5.047, allocations: 1.091 MB / 2.525 GB, free: 16.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001116/5.048, allocations: 0.6395 MB / 2.525 GB, free: 16.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/5.048, allocations: 0 / 2.525 GB, free: 16.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000617/5.049, allocations: 444.6 kB / 2.526 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/5.05, allocations: 228.8 kB / 2.526 GB, free: 15.62 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/5.053, allocations: 1.27 MB / 2.527 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/5.054, allocations: 1.019 MB / 2.528 GB, free: 13.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008335/5.055, allocations: 249.7 kB / 2.528 GB, free: 13.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/5.055, allocations: 99.33 kB / 2.528 GB, free: 12.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/5.055, allocations: 0 / 2.528 GB, free: 12.93 MB / 0.698 GB Notification: Performance of Templates: time 0.4186/5.473, allocations: 15.47 MB / 2.544 GB, free: 234.2 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)