Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00181/0.001811, allocations: 176.7 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.558/0.558, allocations: 90.92 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.78/1.78, allocations: 221.5 MB / 343.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 91.98 kB / 415.9 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.815e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1796, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.455/4.634, allocations: 1.683 GB / 2.237 GB, free: 181.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/4.635, allocations: 91.69 kB / 2.237 GB, free: 181.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1337/4.769, allocations: 58.48 MB / 2.294 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/4.769, allocations: 3.938 kB / 2.294 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.852e-05/4.769, allocations: 19.34 kB / 2.294 GB, free: 163.4 MB / 0.6042 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.00241/4.771, allocations: 1.076 MB / 2.295 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/4.771, allocations: 7.656 kB / 2.295 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/4.772, allocations: 178.5 kB / 2.295 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/4.773, allocations: 0.6165 MB / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/4.773, allocations: 30.75 kB / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/4.774, allocations: 42.62 kB / 2.296 GB, free: 161.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001371/4.775, allocations: 0.9823 MB / 2.297 GB, free: 161.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/4.776, allocations: 0.7233 MB / 2.298 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/4.776, allocations: 3.938 kB / 2.298 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/4.776, allocations: 0 / 2.298 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/4.776, allocations: 19.09 kB / 2.298 GB, free: 161 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003653/4.78, allocations: 2.264 MB / 2.3 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/4.781, allocations: 0.7162 MB / 2.301 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/4.781, allocations: 242.9 kB / 2.301 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/4.781, allocations: 28.94 kB / 2.301 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005521/4.782, allocations: 395.4 kB / 2.301 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 3.767e-06/4.782, allocations: 3.984 kB / 2.301 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.001607/4.784, allocations: 0.6448 MB / 2.302 GB, free: 158.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/4.784, allocations: 247.8 kB / 2.302 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/4.785, allocations: 499.9 kB / 2.303 GB, free: 157.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/4.785, allocations: 29.64 kB / 2.303 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/4.785, allocations: 382 kB / 2.303 GB, free: 157.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/4.785, allocations: 228.5 kB / 2.303 GB, free: 157 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/4.785, allocations: 3.938 kB / 2.303 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001023/4.785, allocations: 374.8 kB / 2.304 GB, free: 156.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/4.785, allocations: 189.5 kB / 2.304 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/4.786, allocations: 288.4 kB / 2.304 GB, free: 156.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/4.786, allocations: 236.5 kB / 2.304 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/4.786, allocations: 7.938 kB / 2.304 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001313/4.787, allocations: 0.6408 MB / 2.305 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/4.788, allocations: 5.406 kB / 2.305 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/4.788, allocations: 0 / 2.305 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/4.788, allocations: 88.86 kB / 2.305 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/4.789, allocations: 135.8 kB / 2.305 GB, free: 155 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/4.79, allocations: 1.461 MB / 2.307 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/4.791, allocations: 59.44 kB / 2.307 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/4.791, allocations: 27.98 kB / 2.307 GB, free: 153.3 MB / 0.6042 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 () * 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.0001932/4.791, allocations: 116.9 kB / 2.307 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/4.791, allocations: 79.14 kB / 2.307 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/4.793, allocations: 0.9028 MB / 2.308 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/4.793, allocations: 8 kB / 2.308 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/4.793, allocations: 4 kB / 2.308 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/4.793, allocations: 11.94 kB / 2.308 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/4.796, allocations: 1.703 MB / 2.309 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/4.796, allocations: 0 / 2.309 GB, free: 150.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/4.796, allocations: 147.8 kB / 2.31 GB, free: 150.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/4.797, allocations: 80.78 kB / 2.31 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/4.797, allocations: 11.98 kB / 2.31 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/4.798, allocations: 1.477 MB / 2.311 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/4.798, allocations: 4.062 kB / 2.311 GB, free: 148.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/4.8, allocations: 0.8259 MB / 2.312 GB, free: 147.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/4.8, allocations: 275.8 kB / 2.312 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/4.8, allocations: 4 kB / 2.312 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/4.801, allocations: 51.94 kB / 2.312 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/4.801, allocations: 64.69 kB / 2.312 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/4.801, allocations: 31.98 kB / 2.312 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005176/4.802, allocations: 398.9 kB / 2.313 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/4.802, allocations: 0 / 2.313 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001199/4.803, allocations: 331 kB / 2.313 GB, free: 146.6 MB / 0.6042 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 (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.002163/4.805, allocations: 1.094 MB / 2.314 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001178/4.806, allocations: 0.636 MB / 2.315 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/4.806, allocations: 7.938 kB / 2.315 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/4.807, allocations: 456.6 kB / 2.315 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/4.808, allocations: 215.2 kB / 2.315 GB, free: 144.2 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/4.812, allocations: 1.286 MB / 2.317 GB, free: 142.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/4.812, allocations: 1.023 MB / 2.318 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008854/4.813, allocations: 245.8 kB / 2.318 GB, free: 141.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/4.813, allocations: 91.39 kB / 2.318 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of SimCode: time 6.51e-07/4.813, allocations: 0 / 2.318 GB, free: 141.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.02416/4.838, allocations: 15.47 MB / 2.333 GB, free: 126.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)