Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.834/0.834, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.002108/0.002107, allocations: 183.4 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.639/1.639, allocations: 223.2 MB / 447.7 MB, free: 4.73 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.0009688/0.000969, allocations: 92.28 kB / 0.5188 GB, free: 1.09 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 268.9 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004521/0.0004523, allocations: 13.56 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2375, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.728/3.966, allocations: 1.691 GB / 2.465 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/3.966, allocations: 110.7 kB / 2.465 GB, free: 62.08 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1254/4.092, allocations: 59.61 MB / 2.523 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.976e-06/4.092, allocations: 3.984 kB / 2.523 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.253e-05/4.092, allocations: 23.92 kB / 2.523 GB, free: 11.61 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002027/4.094, allocations: 1.185 MB / 2.524 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/4.094, allocations: 8.031 kB / 2.524 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008605/4.095, allocations: 190.5 kB / 2.524 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008847/4.095, allocations: 0.6148 MB / 2.525 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/4.096, allocations: 63.12 kB / 2.525 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.711e-05/4.096, allocations: 76.25 kB / 2.525 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/4.097, allocations: 0.8665 MB / 2.526 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/4.097, allocations: 0 / 2.526 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.922e-05/4.097, allocations: 35.19 kB / 2.526 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/4.097, allocations: 23.98 kB / 2.526 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/4.098, allocations: 1.077 MB / 2.527 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/4.102, allocations: 2.421 MB / 2.53 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/4.103, allocations: 0.8079 MB / 2.53 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.33e-05/4.103, allocations: 31.05 kB / 2.53 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006449/4.104, allocations: 426.8 kB / 2.531 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 2.625e-06/4.104, allocations: 0 / 2.531 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002738/4.107, allocations: 1.107 MB / 2.532 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/4.107, allocations: 240 kB / 2.532 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006674/4.107, allocations: 0.5892 MB / 2.533 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/4.107, allocations: 41.7 kB / 2.533 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/4.108, allocations: 372.3 kB / 2.533 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/4.108, allocations: 236.5 kB / 2.533 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/4.108, allocations: 16 kB / 2.533 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/4.108, allocations: 378.8 kB / 2.534 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/4.108, allocations: 221.2 kB / 2.534 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/4.109, allocations: 340.4 kB / 2.534 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/4.109, allocations: 255.1 kB / 2.534 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/4.109, allocations: 0 / 2.534 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001501/4.111, allocations: 0.7392 MB / 2.535 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/4.111, allocations: 9.516 kB / 2.535 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/4.111, allocations: 4 kB / 2.535 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006012/4.111, allocations: 80.88 kB / 2.535 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00055/4.112, allocations: 139.8 kB / 2.535 GB, free: 448 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3638/4.476, allocations: 1.528 MB / 2.537 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008796/4.477, allocations: 78.62 kB / 2.537 GB, free: 233.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/4.477, allocations: 28.61 kB / 2.537 GB, free: 233.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0006858/4.478, allocations: 256.4 kB / 2.537 GB, free: 233 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/4.478, allocations: 79.28 kB / 2.537 GB, free: 233 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/4.48, allocations: 1.012 MB / 2.538 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/4.48, allocations: 15.11 kB / 2.538 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/4.48, allocations: 3.125 kB / 2.538 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/4.48, allocations: 4.125 kB / 2.538 GB, free: 232.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/4.484, allocations: 1.915 MB / 2.54 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/4.484, allocations: 5.953 kB / 2.54 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/4.485, allocations: 147.2 kB / 2.54 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005246/4.485, allocations: 82.28 kB / 2.54 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/4.486, allocations: 26.31 kB / 2.54 GB, free: 232.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/4.487, allocations: 1.553 MB / 2.542 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/4.487, allocations: 3.75 kB / 2.542 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/4.489, allocations: 0.9271 MB / 2.543 GB, free: 231 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006351/4.49, allocations: 284.8 kB / 2.543 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/4.49, allocations: 14.64 kB / 2.543 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/4.491, allocations: 67.44 kB / 2.543 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/4.491, allocations: 63.08 kB / 2.543 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/4.491, allocations: 39.39 kB / 2.543 GB, free: 230.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008453/4.492, allocations: 482 kB / 2.544 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.01e-07/4.492, allocations: 0 / 2.544 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001642/4.494, allocations: 361.1 kB / 2.544 GB, free: 230.8 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 (87): * Single equations (assignments): 84 * 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.003359/4.497, allocations: 1.058 MB / 2.545 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002102/4.499, allocations: 0.7329 MB / 2.546 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/4.499, allocations: 3.938 kB / 2.546 GB, free: 230.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009536/4.5, allocations: 0.4901 MB / 2.546 GB, free: 230.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/4.501, allocations: 246.8 kB / 2.547 GB, free: 230.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/4.505, allocations: 2.082 MB / 2.549 GB, free: 229.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/4.506, allocations: 1.026 MB / 2.55 GB, free: 228.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009128/4.507, allocations: 255.7 kB / 2.55 GB, free: 228.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/4.507, allocations: 99.38 kB / 2.55 GB, free: 228.8 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/4.507, allocations: 6.531 kB / 2.55 GB, free: 228.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.0348/4.542, allocations: 20.26 MB / 2.57 GB, free: 227.4 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)