Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7855/0.7855, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.0009608/0.0009608, allocations: 172.9 kB / 182.2 MB, free: 9.441 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.447/1.447, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009073/0.0009073, allocations: 84.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001629/0.001629, allocations: 274.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.706e-05, allocations: 3.984 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.4661, allocations: 82.77 MB / 0.7574 GB, free: 31.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.436/4.902, allocations: 1.69 GB / 2.448 GB, free: 96.28 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/4.903, allocations: 90.86 kB / 2.448 GB, free: 96.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1325/5.035, allocations: 62.61 MB / 2.509 GB, free: 33.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.094e-06/5.035, allocations: 4 kB / 2.509 GB, free: 33.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001121/5.035, allocations: 24 kB / 2.509 GB, free: 33.31 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002706/5.038, allocations: 1.051 MB / 2.51 GB, free: 32.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/5.038, allocations: 12.03 kB / 2.51 GB, free: 32.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/5.039, allocations: 182.6 kB / 2.51 GB, free: 32.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/5.04, allocations: 0.6114 MB / 2.511 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/5.041, allocations: 24 kB / 2.511 GB, free: 31.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/5.041, allocations: 44 kB / 2.511 GB, free: 31.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00154/5.042, allocations: 0.9718 MB / 2.512 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/5.043, allocations: 0.7116 MB / 2.512 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/5.044, allocations: 0 / 2.512 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-05/5.044, allocations: 3.938 kB / 2.512 GB, free: 29.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/5.044, allocations: 20 kB / 2.512 GB, free: 29.55 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/5.047, allocations: 2.271 MB / 2.515 GB, free: 27.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009031/5.048, allocations: 0.7326 MB / 2.515 GB, free: 26.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/5.049, allocations: 234.5 kB / 2.515 GB, free: 26.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.692e-05/5.049, allocations: 36.58 kB / 2.516 GB, free: 26.19 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/5.049, allocations: 384.7 kB / 2.516 GB, free: 25.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.586e-06/5.049, allocations: 0 / 2.516 GB, free: 25.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.001482/5.051, allocations: 0.6288 MB / 2.517 GB, free: 25.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/5.051, allocations: 239.9 kB / 2.517 GB, free: 24.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/5.051, allocations: 0.4944 MB / 2.517 GB, free: 24.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/5.052, allocations: 25.7 kB / 2.517 GB, free: 24.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/5.052, allocations: 372.2 kB / 2.518 GB, free: 23.97 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/5.052, allocations: 224.6 kB / 2.518 GB, free: 23.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.823e-05/5.052, allocations: 0 / 2.518 GB, free: 23.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001048/5.052, allocations: 374.8 kB / 2.518 GB, free: 23.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/5.052, allocations: 181.5 kB / 2.518 GB, free: 23.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/5.053, allocations: 287.5 kB / 2.519 GB, free: 22.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/5.053, allocations: 232.5 kB / 2.519 GB, free: 22.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/5.053, allocations: 0 / 2.519 GB, free: 22.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001307/5.054, allocations: 0.6369 MB / 2.519 GB, free: 22.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/5.054, allocations: 11.94 kB / 2.519 GB, free: 22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/5.054, allocations: 0 / 2.519 GB, free: 22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005901/5.055, allocations: 84.73 kB / 2.52 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/5.055, allocations: 135.8 kB / 2.52 GB, free: 21.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/5.057, allocations: 1.461 MB / 2.521 GB, free: 20.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/5.058, allocations: 59.56 kB / 2.521 GB, free: 20.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/5.058, allocations: 28.16 kB / 2.521 GB, free: 20.11 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 (72): * Single equations (assignments): 71 * 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.0001658/5.058, allocations: 125.8 kB / 2.521 GB, free: 19.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/5.058, allocations: 67.16 kB / 2.521 GB, free: 19.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/5.06, allocations: 0.8789 MB / 2.522 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/5.06, allocations: 8 kB / 2.522 GB, free: 19.01 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/5.06, allocations: 3.938 kB / 2.522 GB, free: 19.01 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/5.06, allocations: 3.984 kB / 2.522 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/5.062, allocations: 1.687 MB / 2.524 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/5.062, allocations: 0 / 2.524 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/5.063, allocations: 139.8 kB / 2.524 GB, free: 17.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/5.063, allocations: 84.77 kB / 2.524 GB, free: 17.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.792e-05/5.064, allocations: 15.98 kB / 2.524 GB, free: 17.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/5.065, allocations: 1.492 MB / 2.526 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/5.065, allocations: 0 / 2.526 GB, free: 15.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/5.066, allocations: 0.8065 MB / 2.526 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/5.067, allocations: 275.8 kB / 2.527 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/5.067, allocations: 8.016 kB / 2.527 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/5.068, allocations: 51.95 kB / 2.527 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/5.068, allocations: 60.69 kB / 2.527 GB, free: 14.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.466e-05/5.068, allocations: 27.98 kB / 2.527 GB, free: 14.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004859/5.068, allocations: 398.9 kB / 2.527 GB, free: 13.76 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/5.068, allocations: 0 / 2.527 GB, free: 13.76 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00114/5.069, allocations: 323.1 kB / 2.527 GB, free: 13.45 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 (81): * Single equations (assignments): 78 * 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.002229/5.072, allocations: 1.074 MB / 2.529 GB, free: 12.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001243/5.073, allocations: 0.6282 MB / 2.529 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/5.073, allocations: 4 kB / 2.529 GB, free: 11.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006714/5.074, allocations: 440.5 kB / 2.53 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/5.075, allocations: 214.5 kB / 2.53 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/5.078, allocations: 1.266 MB / 2.531 GB, free: 9.863 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/5.079, allocations: 1.011 MB / 2.532 GB, free: 8.824 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009691/5.08, allocations: 253.5 kB / 2.532 GB, free: 8.574 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/5.08, allocations: 91.39 kB / 2.532 GB, free: 8.484 MB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/5.08, allocations: 4 kB / 2.532 GB, free: 8.48 MB / 0.698 GB Notification: Performance of Templates: time 0.4244/5.505, allocations: 15.36 MB / 2.547 GB, free: 233.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)