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.0007798/0.0007799, allocations: 91.84 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.004811/0.004811, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.283/1.283, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 275 kB / 291.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9352/0.9352, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004256, allocations: 12.36 kB / 0.5986 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005335/0.1474, allocations: 4.989 MB / 0.69 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4193/0.5667, allocations: 147.2 MB / 0.8338 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.5674, allocations: 17.94 kB / 0.8338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.5679, allocations: 161 kB / 0.8339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.5695, allocations: 0.579 MB / 0.8345 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.5713, allocations: 0.8522 MB / 0.8353 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.573, allocations: 1.769 MB / 0.837 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.5742, allocations: 1.009 MB / 0.838 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006152/0.5748, allocations: 0.5475 MB / 0.8386 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.5754, allocations: 0.6121 MB / 0.8392 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.5756, allocations: 40.25 kB / 0.8392 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.5763, allocations: 390.6 kB / 0.8396 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.5765, allocations: 293.3 kB / 0.8399 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.5771, allocations: 0.6943 MB / 0.8405 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.5789, allocations: 2.259 MB / 0.8427 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.579, allocations: 0 / 0.8427 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.579, allocations: 0 / 0.8427 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.02e-05/0.579, allocations: 0 / 0.8427 GB, free: 5.586 MB / 0.5606 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.003134/0.5821, allocations: 1.682 MB / 0.8444 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.5822, allocations: 7.938 kB / 0.8444 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.5831, allocations: 268.5 kB / 0.8446 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.5843, allocations: 0.9701 MB / 0.8456 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.251e-05/0.5844, allocations: 118.2 kB / 0.8457 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.5846, allocations: 147 kB / 0.8458 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/0.587, allocations: 1.593 MB / 0.8474 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.5871, allocations: 0 / 0.8474 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.5872, allocations: 66.61 kB / 0.8475 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.5873, allocations: 34.28 kB / 0.8475 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.5897, allocations: 1.649 MB / 0.8491 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006066/0.5958, allocations: 4.177 MB / 0.8532 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.5977, allocations: 1.2 MB / 0.8544 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.5985, allocations: 480.5 kB / 0.8548 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.614e-05/0.5986, allocations: 48.64 kB / 0.8549 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001213/0.5998, allocations: 0.7888 MB / 0.8556 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=128): time 2.324e-06/0.5998, allocations: 0 / 0.8556 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=128): time 0.004001/0.6038, allocations: 1.861 MB / 0.8575 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.604, allocations: 194.5 kB / 0.8576 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009688/0.6049, allocations: 0.8722 MB / 0.8585 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.344e-05/0.605, allocations: 49.61 kB / 0.8585 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.6055, allocations: 0.6073 MB / 0.8591 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.6058, allocations: 402.6 kB / 0.8595 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.6059, allocations: 105.4 kB / 0.8596 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.606, allocations: 352.8 kB / 0.86 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008042/0.6068, allocations: 455.9 kB / 0.8604 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009006/0.6078, allocations: 0.5631 MB / 0.8609 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.6094, allocations: 0.9914 MB / 0.8619 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6094, allocations: 0 / 0.8619 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002651/0.6121, allocations: 1.345 MB / 0.8632 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6121, allocations: 8.906 kB / 0.8632 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6121, allocations: 2.781 kB / 0.8632 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.6127, allocations: 83.66 kB / 0.8633 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.6138, allocations: 273.2 kB / 0.8636 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.6158, allocations: 1.536 MB / 0.8651 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.6169, allocations: 166 kB / 0.8652 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-05/0.617, allocations: 61.92 kB / 0.8653 GB, free: 6.406 MB / 0.5762 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.0005559/0.6175, allocations: 354 kB / 0.8656 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.6177, allocations: 116 kB / 0.8657 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/0.6213, allocations: 1.72 MB / 0.8674 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.6214, allocations: 16 kB / 0.8674 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6214, allocations: 0 / 0.8674 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.6214, allocations: 11.97 kB / 0.8674 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001494/0.6229, allocations: 1.394 MB / 0.8688 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6229, allocations: 7.938 kB / 0.8688 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/0.6238, allocations: 219.7 kB / 0.869 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005244/0.6244, allocations: 88.72 kB / 0.8691 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/0.6245, allocations: 43.89 kB / 0.8691 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.6262, allocations: 1.555 MB / 0.8707 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.6262, allocations: 0 / 0.8707 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002678/0.6289, allocations: 1.418 MB / 0.872 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005405/0.6295, allocations: 406.9 kB / 0.8724 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.6297, allocations: 31.98 kB / 0.8725 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009686/0.6306, allocations: 111.9 kB / 0.8726 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.6309, allocations: 113.1 kB / 0.8727 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.631, allocations: 55.95 kB / 0.8727 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008213/0.6318, allocations: 0.6464 MB / 0.8734 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6318, allocations: 0 / 0.8734 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001016/0.6328, allocations: 466.6 kB / 0.8738 GB, free: 13.73 MB / 0.5919 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.001378/0.6342, allocations: 0.6169 MB / 0.8744 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.6366, allocations: 1.271 MB / 0.8757 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6367, allocations: 0 / 0.8757 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.638, allocations: 0.7479 MB / 0.8764 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.6394, allocations: 302.8 kB / 0.8767 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005521/0.6449, allocations: 3.435 MB / 0.88 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007916/0.6457, allocations: 1.237 MB / 0.8812 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001093/0.6468, allocations: 329.9 kB / 0.8816 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004407/0.6473, allocations: 163.3 kB / 0.8817 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of SimCode: time 7.02e-07/0.6473, allocations: 0 / 0.8817 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of Templates: time 0.03074/0.678, allocations: 19.6 MB / 0.9009 GB, free: 2.312 MB / 0.6075 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)