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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 97.47 kB / 16.26 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00228/0.002281, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7817/0.7817, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 0.4911 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4837/0.4849, allocations: 77.93 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006344/0.4913, allocations: 4.928 MB / 0.572 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1813/0.6727, allocations: 150.6 MB / 0.7191 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001793/0.6745, allocations: 15.94 kB / 0.7191 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008683/0.6755, allocations: 198.1 kB / 0.7193 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.6781, allocations: 0.5623 MB / 0.7199 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.6809, allocations: 0.8456 MB / 0.7207 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001989/0.6829, allocations: 1.429 MB / 0.7221 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008566/0.6838, allocations: 0.5795 MB / 0.7226 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.6844, allocations: 0.4944 MB / 0.7231 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005602/0.685, allocations: 0.5251 MB / 0.7236 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.6852, allocations: 116 kB / 0.7238 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.6863, allocations: 463.7 kB / 0.7242 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.6866, allocations: 303 kB / 0.7245 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005366/0.6872, allocations: 0.5752 MB / 0.725 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00174/0.6889, allocations: 1.628 MB / 0.7266 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6889, allocations: 0 / 0.7266 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.795e-06/0.689, allocations: 3.984 kB / 0.7266 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.689, allocations: 0 / 0.7266 GB, free: 6.941 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002388/0.6914, allocations: 1.464 MB / 0.7281 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.6914, allocations: 12.62 kB / 0.7281 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.6923, allocations: 195.3 kB / 0.7283 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6934, allocations: 0.7508 MB / 0.729 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.539e-05/0.6934, allocations: 66 kB / 0.7291 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.6935, allocations: 84 kB / 0.7291 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.695, allocations: 0.9457 MB / 0.7301 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.6951, allocations: 0 / 0.7301 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.6951, allocations: 40 kB / 0.7301 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.6952, allocations: 20 kB / 0.7301 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.6968, allocations: 1.124 MB / 0.7312 GB, free: 2.117 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003813/0.7007, allocations: 2.763 MB / 0.7339 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.7023, allocations: 0.9072 MB / 0.7348 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.7028, allocations: 318.7 kB / 0.7351 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.671e-05/0.703, allocations: 36.67 kB / 0.7351 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009478/0.7039, allocations: 0.5197 MB / 0.7357 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.354e-06/0.7039, allocations: 0 / 0.7357 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003287/0.7072, allocations: 1.255 MB / 0.7369 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.7073, allocations: 200.8 kB / 0.7371 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007944/0.7082, allocations: 0.641 MB / 0.7377 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.236e-05/0.7082, allocations: 45.7 kB / 0.7377 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.7085, allocations: 400.4 kB / 0.7381 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.7088, allocations: 280 kB / 0.7384 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.7091, allocations: 174.5 kB / 0.7386 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7092, allocations: 386.8 kB / 0.7389 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.7098, allocations: 277.8 kB / 0.7392 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006141/0.7104, allocations: 380 kB / 0.7396 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.7115, allocations: 0.6368 MB / 0.7402 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7115, allocations: 0 / 0.7402 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00195/0.7135, allocations: 0.8838 MB / 0.741 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.7135, allocations: 11.94 kB / 0.741 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7135, allocations: 4.125 kB / 0.7411 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.7141, allocations: 80.77 kB / 0.7411 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/0.7148, allocations: 175.7 kB / 0.7413 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.7168, allocations: 1.639 MB / 0.7429 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.7176, allocations: 93.48 kB / 0.743 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.122e-05/0.7177, allocations: 35.97 kB / 0.743 GB, free: 5.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000411/0.7181, allocations: 287.7 kB / 0.7433 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.7182, allocations: 86.97 kB / 0.7434 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.7208, allocations: 1.136 MB / 0.7445 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.7208, allocations: 12 kB / 0.7445 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.7208, allocations: 0 / 0.7445 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.7208, allocations: 7.969 kB / 0.7445 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.7242, allocations: 2.018 MB / 0.7465 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7242, allocations: 0 / 0.7465 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006713/0.7249, allocations: 159.8 kB / 0.7466 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/0.7253, allocations: 68.78 kB / 0.7467 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.7254, allocations: 31.98 kB / 0.7467 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2634/0.9888, allocations: 1.653 MB / 0.7483 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9889, allocations: 4.984 kB / 0.7483 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.9914, allocations: 1.051 MB / 0.7494 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.9919, allocations: 275.2 kB / 0.7496 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.992, allocations: 30.77 kB / 0.7497 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006818/0.9927, allocations: 68 kB / 0.7497 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.9929, allocations: 81.77 kB / 0.7498 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.404e-05/0.993, allocations: 39.23 kB / 0.7498 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006589/0.9937, allocations: 461.1 kB / 0.7503 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9937, allocations: 0.7812 kB / 0.7503 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001025/0.9947, allocations: 334.2 kB / 0.7506 GB, free: 169.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.996, allocations: 0.6036 MB / 0.7512 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002817/0.9988, allocations: 1.094 MB / 0.7523 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9989, allocations: 1.125 kB / 0.7523 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.9999, allocations: 0.5452 MB / 0.7528 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/1.001, allocations: 306 kB / 0.7531 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003295/1.005, allocations: 1.721 MB / 0.7548 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/1.005, allocations: 1.041 MB / 0.7558 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008702/1.006, allocations: 270.4 kB / 0.756 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/1.006, allocations: 116.4 kB / 0.7562 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/1.006, allocations: 1.062 kB / 0.7562 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.02491/1.031, allocations: 15.59 MB / 0.7714 GB, free: 161.8 MB / 0.5762 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)