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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 105.2 kB / 16.41 MB, free: 6.492 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.002089/0.00209, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0023/0.0023, allocations: 297.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 100.1 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5436, allocations: 86.97 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007464/0.5511, allocations: 4.447 MB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1829/0.734, allocations: 150.6 MB / 0.9184 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.7352, allocations: 19.88 kB / 0.9184 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000923/0.7361, allocations: 174.3 kB / 0.9186 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002466/0.7387, allocations: 0.5138 MB / 0.9191 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.7414, allocations: 0.8419 MB / 0.9199 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.7435, allocations: 1.359 MB / 0.9213 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.7447, allocations: 0.6239 MB / 0.9219 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009719/0.7457, allocations: 0.4905 MB / 0.9223 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.7467, allocations: 0.5095 MB / 0.9228 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.7471, allocations: 123.9 kB / 0.923 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.7483, allocations: 491.5 kB / 0.9234 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.7486, allocations: 299.1 kB / 0.9237 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005273/0.7492, allocations: 0.5557 MB / 0.9243 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.7512, allocations: 1.642 MB / 0.9259 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7513, allocations: 0 / 0.9259 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7513, allocations: 0 / 0.9259 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.7513, allocations: 4 kB / 0.9259 GB, free: 0.6289 MB / 0.6856 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.002568/0.7539, allocations: 1.456 MB / 0.9273 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.7539, allocations: 12.03 kB / 0.9273 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009263/0.7548, allocations: 187.3 kB / 0.9275 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.756, allocations: 0.7703 MB / 0.9282 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.7561, allocations: 70 kB / 0.9283 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.7562, allocations: 84 kB / 0.9284 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.7577, allocations: 0.9457 MB / 0.9293 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.7578, allocations: 0 / 0.9293 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/0.7579, allocations: 32 kB / 0.9293 GB, free: 12.94 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.7579, allocations: 20 kB / 0.9293 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.7596, allocations: 1.136 MB / 0.9305 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.7634, allocations: 2.523 MB / 0.9329 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.7649, allocations: 0.9187 MB / 0.9338 GB, free: 8.25 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.7654, allocations: 318.7 kB / 0.9341 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.781e-05/0.7655, allocations: 32.69 kB / 0.9342 GB, free: 7.902 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000837/0.7664, allocations: 0.512 MB / 0.9347 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=85): time 2.464e-06/0.7664, allocations: 0 / 0.9347 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of matching and sorting (n=85): time 0.003222/0.7696, allocations: 1.251 MB / 0.9359 GB, free: 6.098 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.7698, allocations: 200.9 kB / 0.9361 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007663/0.7705, allocations: 0.6448 MB / 0.9367 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/0.7706, allocations: 45.7 kB / 0.9367 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.7709, allocations: 400.4 kB / 0.9371 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.7711, allocations: 272.1 kB / 0.9374 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.7714, allocations: 174.5 kB / 0.9375 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.7716, allocations: 390.7 kB / 0.9379 GB, free: 3.918 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.7721, allocations: 285.8 kB / 0.9382 GB, free: 3.641 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.7727, allocations: 380 kB / 0.9386 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7738, allocations: 0.6368 MB / 0.9392 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.7738, allocations: 0 / 0.9392 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001966/0.7758, allocations: 0.88 MB / 0.94 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.7758, allocations: 7.938 kB / 0.94 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.7758, allocations: 4 kB / 0.94 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.7765, allocations: 84.89 kB / 0.9401 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006872/0.7772, allocations: 175.7 kB / 0.9403 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.7793, allocations: 1.621 MB / 0.9419 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.7801, allocations: 106.4 kB / 0.942 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.7801, allocations: 39.97 kB / 0.942 GB, free: 15.54 MB / 0.7169 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.0004892/0.7806, allocations: 282.2 kB / 0.9423 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.7808, allocations: 82.97 kB / 0.9424 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.7832, allocations: 1.132 MB / 0.9435 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.7832, allocations: 8 kB / 0.9435 GB, free: 14.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7833, allocations: 8 kB / 0.9435 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.7833, allocations: 7.984 kB / 0.9435 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.7866, allocations: 2.037 MB / 0.9455 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7866, allocations: 4 kB / 0.9455 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.7872, allocations: 151.8 kB / 0.9456 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.7877, allocations: 72.8 kB / 0.9457 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.7877, allocations: 27.97 kB / 0.9457 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.7896, allocations: 1.658 MB / 0.9473 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.7896, allocations: 0 / 0.9473 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.7916, allocations: 1.049 MB / 0.9484 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.792, allocations: 275.7 kB / 0.9486 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.7922, allocations: 23.98 kB / 0.9487 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006546/0.7928, allocations: 63.94 kB / 0.9487 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.793, allocations: 84.81 kB / 0.9488 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.7931, allocations: 35.98 kB / 0.9488 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005631/0.7936, allocations: 463 kB / 0.9493 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7936, allocations: 0 / 0.9493 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008711/0.7945, allocations: 327.2 kB / 0.9496 GB, free: 7.52 MB / 0.7169 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.001391/0.7959, allocations: 0.6035 MB / 0.9502 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.7977, allocations: 0.8625 MB / 0.951 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7977, allocations: 0 / 0.951 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009241/0.7986, allocations: 0.555 MB / 0.9516 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.7998, allocations: 298 kB / 0.9518 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003834/0.8036, allocations: 1.838 MB / 0.9536 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005689/0.8042, allocations: 1.039 MB / 0.9547 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.8045, allocations: 123.4 kB / 0.9548 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of SimCode: time 6.01e-07/0.8046, allocations: 0 / 0.9548 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of Templates: time 0.4773/1.282, allocations: 19.1 MB / 0.9734 GB, free: 179.1 MB / 0.7169 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)