Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4869/0.4869, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 105.4 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3052, allocations: 70.06 MB / 0.5575 GB, free: 44.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005495/0.3108, allocations: 4.889 MB / 0.5623 GB, free: 40.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1442/0.455, allocations: 148.6 MB / 0.7074 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.4561, allocations: 19.94 kB / 0.7074 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.4568, allocations: 142.8 kB / 0.7075 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.4589, allocations: 0.5027 MB / 0.708 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001971/0.4609, allocations: 0.7766 MB / 0.7088 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001534/0.4624, allocations: 1.499 MB / 0.7102 GB, free: 216 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2776/0.74, allocations: 1.021 MB / 0.7112 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.7415, allocations: 0.6134 MB / 0.7118 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.7426, allocations: 0.6892 MB / 0.7125 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003074/0.7429, allocations: 107.9 kB / 0.7126 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.7443, allocations: 441.1 kB / 0.713 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004312/0.7447, allocations: 348.2 kB / 0.7134 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.7459, allocations: 0.7132 MB / 0.714 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003472/0.7494, allocations: 2.063 MB / 0.7161 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.7494, allocations: 0 / 0.7161 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/0.7494, allocations: 4 kB / 0.7161 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.118e-05/0.7495, allocations: 0 / 0.7161 GB, free: 2.023 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00503/0.7545, allocations: 1.778 MB / 0.7178 GB, free: 17.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.7546, allocations: 8.125 kB / 0.7178 GB, free: 17.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.756, allocations: 239.1 kB / 0.718 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.7579, allocations: 0.8773 MB / 0.7189 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.54e-05/0.758, allocations: 110.6 kB / 0.719 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.7582, allocations: 140.5 kB / 0.7191 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.7613, allocations: 1.428 MB / 0.7205 GB, free: 16.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.7613, allocations: 0 / 0.7205 GB, free: 16.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.7615, allocations: 65.31 kB / 0.7206 GB, free: 16.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.7615, allocations: 34.66 kB / 0.7206 GB, free: 16.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003219/0.7648, allocations: 1.511 MB / 0.7221 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007172/0.7719, allocations: 3.776 MB / 0.7258 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.7741, allocations: 0.9644 MB / 0.7267 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/0.775, allocations: 403.4 kB / 0.7271 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.7751, allocations: 49.69 kB / 0.7272 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.7766, allocations: 0.5733 MB / 0.7277 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=104): time 5.129e-06/0.7767, allocations: 2.25 kB / 0.7277 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=104): time 0.005649/0.7823, allocations: 1.482 MB / 0.7292 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.7825, allocations: 198.1 kB / 0.7294 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.784, allocations: 0.7608 MB / 0.7301 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.877e-05/0.7841, allocations: 42.48 kB / 0.7301 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.7846, allocations: 0.5562 MB / 0.7307 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/0.785, allocations: 346.2 kB / 0.731 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/0.7854, allocations: 222.2 kB / 0.7312 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.7856, allocations: 350.4 kB / 0.7316 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009597/0.7866, allocations: 356.4 kB / 0.7319 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.7877, allocations: 473.6 kB / 0.7324 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.7894, allocations: 0.8308 MB / 0.7332 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.7894, allocations: 3.969 kB / 0.7332 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002275/0.7917, allocations: 1.112 MB / 0.7343 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7917, allocations: 5.562 kB / 0.7343 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7917, allocations: 96 / 0.7343 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.7923, allocations: 86.66 kB / 0.7343 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.7932, allocations: 227.4 kB / 0.7346 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.7951, allocations: 1.53 MB / 0.7361 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/0.796, allocations: 116.4 kB / 0.7362 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.7961, allocations: 51.56 kB / 0.7362 GB, free: 12.38 MB / 0.5261 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.0005363/0.7966, allocations: 311.6 kB / 0.7365 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.7968, allocations: 103.8 kB / 0.7366 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.7997, allocations: 1.386 MB / 0.738 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.7997, allocations: 14.75 kB / 0.738 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.7997, allocations: 0 / 0.738 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.7997, allocations: 8.5 kB / 0.738 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003652/0.8034, allocations: 2.567 MB / 0.7405 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8034, allocations: 0 / 0.7405 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.8041, allocations: 187.9 kB / 0.7407 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.8047, allocations: 81.91 kB / 0.7408 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/0.8047, allocations: 35.36 kB / 0.7408 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.8066, allocations: 1.553 MB / 0.7423 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8066, allocations: 2.312 kB / 0.7423 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.8101, allocations: 2.359 MB / 0.7446 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.8106, allocations: 318.4 kB / 0.7449 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.8107, allocations: 33.56 kB / 0.7449 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006576/0.8114, allocations: 57.44 kB / 0.745 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.8115, allocations: 73.27 kB / 0.7451 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/0.8116, allocations: 42.95 kB / 0.7451 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000719/0.8123, allocations: 0.568 MB / 0.7457 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8124, allocations: 0 / 0.7457 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001174/0.8135, allocations: 403.8 kB / 0.746 GB, free: 9.156 MB / 0.5261 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.001247/0.8148, allocations: 0.6097 MB / 0.7466 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.8166, allocations: 1.033 MB / 0.7477 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8167, allocations: 2.125 kB / 0.7477 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.8176, allocations: 0.6139 MB / 0.7483 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.8189, allocations: 283.9 kB / 0.7485 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00534/0.8242, allocations: 3.542 MB / 0.752 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.825, allocations: 1.199 MB / 0.7532 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001086/0.8261, allocations: 304.2 kB / 0.7534 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.8264, allocations: 127.5 kB / 0.7536 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of SimCode: time 1.032e-06/0.8264, allocations: 0 / 0.7536 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of Templates: time 0.02732/0.8538, allocations: 17.61 MB / 0.7708 GB, free: 13.27 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)