Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001681/0.001681, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001504/0.001504, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.451/1.451, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002641/0.002641, allocations: 300.8 kB / 291.3 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 0.9965/0.9965, allocations: 169.2 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 99.67 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.228, allocations: 86.97 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008805/0.2369, allocations: 5.455 MB / 0.6862 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5697/0.8066, allocations: 151.1 MB / 0.8337 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.8081, allocations: 27.88 kB / 0.8338 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.8092, allocations: 209.9 kB / 0.834 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.8123, allocations: 0.6725 MB / 0.8346 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.8154, allocations: 0.9784 MB / 0.8356 GB, free: 468 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002783/0.8182, allocations: 1.881 MB / 0.8374 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.8201, allocations: 1.076 MB / 0.8385 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.8215, allocations: 0.7952 MB / 0.8392 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.823, allocations: 0.8673 MB / 0.8401 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000632/0.8237, allocations: 208 kB / 0.8403 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.8252, allocations: 0.5387 MB / 0.8408 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007163/0.826, allocations: 482.5 kB / 0.8413 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009733/0.827, allocations: 0.9055 MB / 0.8421 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002797/0.8298, allocations: 2.433 MB / 0.8445 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8298, allocations: 0 / 0.8445 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8298, allocations: 0 / 0.8445 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.024e-05/0.8298, allocations: 0 / 0.8445 GB, free: 7.223 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003823/0.8336, allocations: 2.027 MB / 0.8465 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8337, allocations: 12.03 kB / 0.8465 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.8347, allocations: 258.5 kB / 0.8468 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.8361, allocations: 0.9736 MB / 0.8477 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.8362, allocations: 111.1 kB / 0.8478 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.8364, allocations: 148 kB / 0.848 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002549/0.8389, allocations: 1.584 MB / 0.8495 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.839, allocations: 0 / 0.8495 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.8391, allocations: 68.86 kB / 0.8496 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.8392, allocations: 36 kB / 0.8496 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/0.8417, allocations: 1.633 MB / 0.8512 GB, free: 220 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006797/0.8485, allocations: 4.147 MB / 0.8552 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.8507, allocations: 1.197 MB / 0.8564 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008093/0.8515, allocations: 479.7 kB / 0.8569 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.8516, allocations: 52.97 kB / 0.8569 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/0.853, allocations: 0.7705 MB / 0.8577 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=128): time 2.926e-06/0.853, allocations: 4 kB / 0.8577 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128): time 0.004402/0.8574, allocations: 1.838 MB / 0.8595 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.8575, allocations: 193.2 kB / 0.8597 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.8587, allocations: 0.8653 MB / 0.8605 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.8589, allocations: 53.81 kB / 0.8606 GB, free: 6.434 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.8594, allocations: 0.6093 MB / 0.8612 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.8598, allocations: 410.2 kB / 0.8615 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.8602, allocations: 254.7 kB / 0.8618 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.8603, allocations: 353.9 kB / 0.8621 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.8612, allocations: 454.3 kB / 0.8626 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000954/0.8621, allocations: 0.5571 MB / 0.8631 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.8639, allocations: 0.9857 MB / 0.8641 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8639, allocations: 0 / 0.8641 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002882/0.8668, allocations: 1.336 MB / 0.8654 GB, free: 1.441 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.8668, allocations: 4 kB / 0.8654 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.8669, allocations: 0 / 0.8654 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.8675, allocations: 92.77 kB / 0.8655 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.8685, allocations: 259.6 kB / 0.8657 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.8708, allocations: 1.651 MB / 0.8673 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.872, allocations: 150.8 kB / 0.8675 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.8721, allocations: 58.89 kB / 0.8675 GB, free: 15.09 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0007442/0.8728, allocations: 357.7 kB / 0.8679 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.8731, allocations: 122.5 kB / 0.868 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/0.8767, allocations: 1.707 MB / 0.8696 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.8768, allocations: 16 kB / 0.8697 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8768, allocations: 0 / 0.8697 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.8768, allocations: 7.969 kB / 0.8697 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.8786, allocations: 1.397 MB / 0.871 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.8786, allocations: 0 / 0.871 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008773/0.8795, allocations: 219.7 kB / 0.8712 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/0.8799, allocations: 68.8 kB / 0.8713 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.389e-05/0.88, allocations: 43.95 kB / 0.8713 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.882, allocations: 1.674 MB / 0.873 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.882, allocations: 12.02 kB / 0.873 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.8848, allocations: 1.402 MB / 0.8744 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/0.8854, allocations: 375 kB / 0.8747 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.8856, allocations: 39.92 kB / 0.8748 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/0.8865, allocations: 90.41 kB / 0.8748 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.8867, allocations: 113.1 kB / 0.875 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.8869, allocations: 55.95 kB / 0.875 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009494/0.8878, allocations: 0.6464 MB / 0.8756 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8878, allocations: 4 kB / 0.8756 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001202/0.889, allocations: 458.6 kB / 0.8761 GB, free: 6.059 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001483/0.8905, allocations: 0.6215 MB / 0.8767 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004076/0.8946, allocations: 1.587 MB / 0.8782 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8946, allocations: 0 / 0.8782 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.8959, allocations: 0.7441 MB / 0.879 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.8974, allocations: 321.5 kB / 0.8793 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005849/0.9032, allocations: 2.747 MB / 0.882 GB, free: 184 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.9044, allocations: 1.232 MB / 0.8832 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.9049, allocations: 175.3 kB / 0.8833 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of SimCode: time 9.82e-07/0.9049, allocations: 0 / 0.8833 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.04407/0.949, allocations: 27.41 MB / 0.9101 GB, free: 3.438 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)