Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006355/0.006355, allocations: 172.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000563/0.000563, allocations: 15.95 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2425, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005503/0.248, allocations: 4.535 MB / 0.7923 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6023/0.8504, allocations: 146.7 MB / 0.9356 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008751/0.8513, allocations: 21 kB / 0.9356 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.8518, allocations: 153.7 kB / 0.9357 GB, free: 1.465 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.001428/0.8532, allocations: 471.3 kB / 0.9362 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.855, allocations: 0.755 MB / 0.9369 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.8564, allocations: 1.464 MB / 0.9384 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.8576, allocations: 0.9637 MB / 0.9393 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007892/0.8584, allocations: 458.7 kB / 0.9397 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006209/0.859, allocations: 0.4992 MB / 0.9402 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.878e-05/0.8591, allocations: 26.84 kB / 0.9402 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007311/0.8598, allocations: 306 kB / 0.9405 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.8601, allocations: 233.1 kB / 0.9408 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005816/0.8607, allocations: 0.5996 MB / 0.9413 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002052/0.8627, allocations: 1.883 MB / 0.9432 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.8627, allocations: 1.281 kB / 0.9432 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8627, allocations: 2.531 kB / 0.9432 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.67e-05/0.8628, allocations: 4 kB / 0.9432 GB, free: 0.6094 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.002812/0.8656, allocations: 1.441 MB / 0.9446 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.8656, allocations: 9.031 kB / 0.9446 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.8667, allocations: 248.5 kB / 0.9448 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/0.8682, allocations: 0.8754 MB / 0.9457 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.8684, allocations: 105.8 kB / 0.9458 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.8686, allocations: 132.1 kB / 0.9459 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003853/0.8725, allocations: 1.392 MB / 0.9473 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.8726, allocations: 0.5 kB / 0.9473 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.8727, allocations: 56.53 kB / 0.9473 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.633e-05/0.8728, allocations: 33.09 kB / 0.9474 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.8756, allocations: 1.486 MB / 0.9488 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006547/0.8822, allocations: 3.611 MB / 0.9523 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.8839, allocations: 0.9644 MB / 0.9533 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006897/0.8846, allocations: 401.4 kB / 0.9537 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.8847, allocations: 47.86 kB / 0.9537 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/0.8858, allocations: 0.5815 MB / 0.9543 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=104): time 2.896e-06/0.8858, allocations: 0 / 0.9543 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=104): time 0.003754/0.8896, allocations: 1.49 MB / 0.9557 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.8897, allocations: 197.9 kB / 0.9559 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.8908, allocations: 0.7426 MB / 0.9567 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-05/0.8909, allocations: 52.16 kB / 0.9567 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.8913, allocations: 0.5589 MB / 0.9573 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.8916, allocations: 345.2 kB / 0.9576 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.8917, allocations: 86.89 kB / 0.9577 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8919, allocations: 398.1 kB / 0.958 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.8926, allocations: 370 kB / 0.9584 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008271/0.8934, allocations: 472.8 kB / 0.9588 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.895, allocations: 0.837 MB / 0.9597 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.895, allocations: 1.438 kB / 0.9597 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002554/0.8976, allocations: 1.124 MB / 0.9608 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.8976, allocations: 7.094 kB / 0.9608 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.8976, allocations: 3.578 kB / 0.9608 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006555/0.8983, allocations: 85.83 kB / 0.9609 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.8993, allocations: 229.2 kB / 0.9611 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.9017, allocations: 1.534 MB / 0.9626 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.903, allocations: 102.7 kB / 0.9627 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.9031, allocations: 56.77 kB / 0.9627 GB, free: 10.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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.0008456/0.904, allocations: 324.3 kB / 0.963 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.9042, allocations: 100.1 kB / 0.9631 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/0.9075, allocations: 1.391 MB / 0.9645 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.9076, allocations: 15.47 kB / 0.9645 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9076, allocations: 0.9375 kB / 0.9645 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.9076, allocations: 7.969 kB / 0.9645 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004437/0.912, allocations: 2.558 MB / 0.967 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.9121, allocations: 3.984 kB / 0.967 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/0.9129, allocations: 185.7 kB / 0.9672 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005055/0.9134, allocations: 87.7 kB / 0.9673 GB, free: 9.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.9135, allocations: 37.64 kB / 0.9673 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.9152, allocations: 1.561 MB / 0.9688 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9152, allocations: 0 / 0.9688 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/0.9175, allocations: 1.18 MB / 0.97 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.9181, allocations: 349.8 kB / 0.9703 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.9183, allocations: 23.11 kB / 0.9703 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.919, allocations: 74.34 kB / 0.9704 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.9192, allocations: 79.95 kB / 0.9705 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/0.9193, allocations: 40 kB / 0.9705 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008327/0.9202, allocations: 0.5556 MB / 0.9711 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9202, allocations: 3.031 kB / 0.9711 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001178/0.9214, allocations: 383.7 kB / 0.9714 GB, free: 6.629 MB / 0.7325 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 (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001306/0.9227, allocations: 0.5635 MB / 0.972 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.9247, allocations: 1.046 MB / 0.973 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9247, allocations: 0 / 0.973 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.9257, allocations: 0.6192 MB / 0.9736 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.9272, allocations: 280 kB / 0.9739 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005093/0.9323, allocations: 3.029 MB / 0.9768 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.933, allocations: 1.161 MB / 0.978 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001132/0.9342, allocations: 298.5 kB / 0.9783 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.9345, allocations: 131.5 kB / 0.9784 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of SimCode: time 2.564e-06/0.9345, allocations: 0 / 0.9784 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of Templates: time 0.02747/0.962, allocations: 16.54 MB / 0.9945 GB, free: 10.02 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: