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.001163/0.001163, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001187/0.001187, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7419/0.7419, allocations: 115.1 MB / 406.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.333, allocations: 76.15 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005652/0.3387, allocations: 4.91 MB / 0.5624 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1493/0.488, allocations: 150.6 MB / 0.7095 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.4891, allocations: 23.81 kB / 0.7095 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007782/0.4899, allocations: 194.2 kB / 0.7097 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.4922, allocations: 0.5528 MB / 0.7102 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.4946, allocations: 0.8455 MB / 0.7111 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001871/0.4965, allocations: 1.444 MB / 0.7125 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009873/0.4975, allocations: 0.5795 MB / 0.713 GB, free: 4.809 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007819/0.4983, allocations: 0.4983 MB / 0.7135 GB, free: 4.309 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007685/0.4991, allocations: 0.5251 MB / 0.714 GB, free: 3.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002985/0.4994, allocations: 120 kB / 0.7141 GB, free: 3.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.5006, allocations: 483.6 kB / 0.7146 GB, free: 3.191 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.501, allocations: 307 kB / 0.7149 GB, free: 2.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007916/0.5018, allocations: 0.5752 MB / 0.7155 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.5042, allocations: 1.674 MB / 0.7171 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5042, allocations: 0 / 0.7171 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5042, allocations: 0 / 0.7171 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.977e-05/0.5042, allocations: 0 / 0.7171 GB, free: 0.6367 MB / 0.545 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.003071/0.5073, allocations: 1.468 MB / 0.7185 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5074, allocations: 12.03 kB / 0.7185 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/0.5083, allocations: 183.4 kB / 0.7187 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.5097, allocations: 0.7858 MB / 0.7195 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.5097, allocations: 62 kB / 0.7195 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.5098, allocations: 84 kB / 0.7196 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.5114, allocations: 0.9496 MB / 0.7205 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.5115, allocations: 0 / 0.7205 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.139e-05/0.5116, allocations: 36 kB / 0.7206 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.5116, allocations: 24 kB / 0.7206 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.5134, allocations: 1.128 MB / 0.7217 GB, free: 11.78 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.00416/0.5175, allocations: 2.721 MB / 0.7244 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.5191, allocations: 0.9206 MB / 0.7253 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.5197, allocations: 318.7 kB / 0.7256 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.679e-05/0.5198, allocations: 28.62 kB / 0.7256 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/0.5207, allocations: 0.5239 MB / 0.7261 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.885e-06/0.5207, allocations: 4 kB / 0.7261 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.003359/0.5241, allocations: 1.255 MB / 0.7273 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/0.5242, allocations: 192.9 kB / 0.7275 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.525, allocations: 0.6448 MB / 0.7281 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-05/0.5251, allocations: 45.7 kB / 0.7282 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.5254, allocations: 404.3 kB / 0.7286 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002126/0.5256, allocations: 276 kB / 0.7288 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.5259, allocations: 174.5 kB / 0.729 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5261, allocations: 390.8 kB / 0.7294 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/0.5266, allocations: 277.8 kB / 0.7296 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006495/0.5273, allocations: 376 kB / 0.73 GB, free: 3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.5285, allocations: 0.6368 MB / 0.7306 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.5285, allocations: 0 / 0.7306 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002062/0.5305, allocations: 0.8839 MB / 0.7315 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.5306, allocations: 13.81 kB / 0.7315 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5306, allocations: 3.984 kB / 0.7315 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.5312, allocations: 80.91 kB / 0.7316 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007201/0.5319, allocations: 171.7 kB / 0.7317 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.5341, allocations: 1.641 MB / 0.7333 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/0.5349, allocations: 95.3 kB / 0.7334 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.535, allocations: 39.97 kB / 0.7335 GB, free: 15.27 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.0004433/0.5355, allocations: 279.7 kB / 0.7337 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.5357, allocations: 86.97 kB / 0.7338 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.5382, allocations: 1.132 MB / 0.7349 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5382, allocations: 12 kB / 0.7349 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5382, allocations: 0 / 0.7349 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.5382, allocations: 7.969 kB / 0.735 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003366/0.5416, allocations: 2.017 MB / 0.7369 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5416, allocations: 0 / 0.7369 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/0.5423, allocations: 159.8 kB / 0.7371 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004346/0.5427, allocations: 72.78 kB / 0.7371 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.684e-05/0.5428, allocations: 27.98 kB / 0.7372 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.5447, allocations: 1.67 MB / 0.7388 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5447, allocations: 4.031 kB / 0.7388 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.5468, allocations: 1.049 MB / 0.7398 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.5472, allocations: 283.7 kB / 0.7401 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.5473, allocations: 16 kB / 0.7401 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.548, allocations: 75.92 kB / 0.7402 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.5482, allocations: 76.83 kB / 0.7403 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.697e-05/0.5483, allocations: 39.97 kB / 0.7403 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005779/0.5489, allocations: 463 kB / 0.7407 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5489, allocations: 0 / 0.7407 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008508/0.5497, allocations: 331.2 kB / 0.7411 GB, free: 7.234 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.00134/0.5511, allocations: 0.6081 MB / 0.7416 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.5529, allocations: 0.8627 MB / 0.7425 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5529, allocations: 4 kB / 0.7425 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009977/0.5539, allocations: 0.547 MB / 0.743 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.5552, allocations: 304.6 kB / 0.7433 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.5581, allocations: 1.689 MB / 0.745 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.5588, allocations: 1.043 MB / 0.746 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008604/0.5597, allocations: 267 kB / 0.7462 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/0.56, allocations: 111.4 kB / 0.7463 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.56, allocations: 0 / 0.7463 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of Templates: time 0.2503/0.8103, allocations: 15.61 MB / 0.7616 GB, free: 171.4 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)