Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8003/0.8003, allocations: 143.4 MB / 158.3 MB, free: 5.816 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.001069/0.001069, allocations: 175.9 kB / 191.5 MB, free: 5.77 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.475/1.475, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.001066/0.001066, allocations: 84.33 kB / 0.5188 GB, free: 1.207 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001762, allocations: 271.3 kB / 0.6005 GB, free: 48.78 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006729/0.0006729, allocations: 15.72 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2074, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.318/4.525, allocations: 1.691 GB / 2.465 GB, free: 62.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/4.526, allocations: 98.64 kB / 2.465 GB, free: 62.77 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1241/4.65, allocations: 58.91 MB / 2.522 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.274e-06/4.65, allocations: 0 / 2.522 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.937e-05/4.65, allocations: 24 kB / 2.522 GB, free: 12.9 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001954/4.652, allocations: 1.158 MB / 2.523 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/4.652, allocations: 8.031 kB / 2.523 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007933/4.653, allocations: 190.5 kB / 2.524 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008509/4.653, allocations: 0.6067 MB / 2.524 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/4.654, allocations: 56.69 kB / 2.524 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/4.654, allocations: 73.81 kB / 2.524 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/4.655, allocations: 0.8389 MB / 2.525 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/4.655, allocations: 4 kB / 2.525 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/4.655, allocations: 32.38 kB / 2.525 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/4.655, allocations: 16 kB / 2.525 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/4.656, allocations: 1.053 MB / 2.526 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/4.66, allocations: 2.366 MB / 2.528 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/4.661, allocations: 0.7887 MB / 2.529 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.289e-05/4.661, allocations: 39.7 kB / 2.529 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006165/4.661, allocations: 416.3 kB / 2.53 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.805e-06/4.662, allocations: 0 / 2.53 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.00264/4.664, allocations: 1.066 MB / 2.531 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/4.664, allocations: 239.9 kB / 2.531 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/4.665, allocations: 0.575 MB / 2.532 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.168e-05/4.665, allocations: 41.7 kB / 2.532 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/4.665, allocations: 372.3 kB / 2.532 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/4.665, allocations: 236.6 kB / 2.532 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/4.665, allocations: 8 kB / 2.532 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/4.665, allocations: 378.7 kB / 2.532 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003466/4.666, allocations: 213.2 kB / 2.533 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/4.666, allocations: 323.6 kB / 2.533 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/4.667, allocations: 255.1 kB / 2.533 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/4.667, allocations: 3.938 kB / 2.533 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001403/4.668, allocations: 0.7119 MB / 2.534 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/4.668, allocations: 4.938 kB / 2.534 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/4.668, allocations: 0 / 2.534 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/4.669, allocations: 84.83 kB / 2.534 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/4.669, allocations: 139.8 kB / 2.534 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/4.671, allocations: 1.522 MB / 2.536 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/4.671, allocations: 83.48 kB / 2.536 GB, free: 376 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/4.671, allocations: 23.98 kB / 2.536 GB, free: 352 kB / 0.7136 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 () * Number of clocked 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.0003683/4.672, allocations: 245.7 kB / 2.536 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/4.672, allocations: 75.06 kB / 2.536 GB, free: 20 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5231/5.195, allocations: 0.9765 MB / 2.537 GB, free: 235 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/5.195, allocations: 8.969 kB / 2.537 GB, free: 235 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/5.195, allocations: 0 / 2.537 GB, free: 235 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/5.195, allocations: 5.812 kB / 2.537 GB, free: 235 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003405/5.199, allocations: 1.853 MB / 2.539 GB, free: 234.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/5.199, allocations: 6.859 kB / 2.539 GB, free: 234.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/5.199, allocations: 136 kB / 2.539 GB, free: 234.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/5.2, allocations: 86.81 kB / 2.539 GB, free: 234.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.449e-05/5.2, allocations: 23.52 kB / 2.539 GB, free: 234.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/5.201, allocations: 1.553 MB / 2.541 GB, free: 233.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/5.201, allocations: 0 / 2.541 GB, free: 233.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/5.203, allocations: 0.899 MB / 2.541 GB, free: 233.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/5.204, allocations: 276.7 kB / 2.542 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/5.204, allocations: 18.67 kB / 2.542 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/5.204, allocations: 67.28 kB / 2.542 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/5.204, allocations: 59.73 kB / 2.542 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/5.205, allocations: 31.14 kB / 2.542 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000606/5.205, allocations: 478.2 kB / 2.542 GB, free: 233 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.4e-07/5.205, allocations: 1.203 kB / 2.542 GB, free: 233 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001235/5.206, allocations: 346 kB / 2.543 GB, free: 233 MB / 0.7136 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) * Number of clocked states: 0 () * 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.002248/5.209, allocations: 1.06 MB / 2.544 GB, free: 232.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001611/5.21, allocations: 0.7085 MB / 2.544 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/5.21, allocations: 1.375 kB / 2.544 GB, free: 232.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008519/5.211, allocations: 490.3 kB / 2.545 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/5.212, allocations: 243.8 kB / 2.545 GB, free: 232.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004122/5.216, allocations: 2.014 MB / 2.547 GB, free: 231.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/5.217, allocations: 1.009 MB / 2.548 GB, free: 231 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009041/5.218, allocations: 259.3 kB / 2.548 GB, free: 231 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/5.218, allocations: 89.42 kB / 2.548 GB, free: 231 MB / 0.7136 GB Notification: Performance of SimCode: time 1.533e-06/5.218, allocations: 2.469 kB / 2.548 GB, free: 231 MB / 0.7136 GB Notification: Performance of Templates: time 0.03761/5.256, allocations: 20.04 MB / 2.568 GB, free: 229.7 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)