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.001475/0.001475, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001742/0.001742, allocations: 197 kB / 16.26 MB, free: 6.621 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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002447/0.002447, allocations: 286.8 kB / 290.4 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9128/0.9128, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 93.62 kB / 0.5947 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1646, allocations: 86.98 MB / 0.6796 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007961/0.1726, allocations: 5.428 MB / 0.6849 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4268/0.5995, allocations: 148.9 MB / 0.8303 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/0.6004, allocations: 25.81 kB / 0.8304 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.601, allocations: 161.2 kB / 0.8305 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.6025, allocations: 0.589 MB / 0.8311 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.6042, allocations: 0.8868 MB / 0.832 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001489/0.6057, allocations: 1.889 MB / 0.8338 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.607, allocations: 1.072 MB / 0.8348 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.608, allocations: 0.8019 MB / 0.8356 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.6089, allocations: 0.87 MB / 0.8365 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002895/0.6092, allocations: 207.2 kB / 0.8367 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009476/0.6101, allocations: 0.5345 MB / 0.8372 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.6105, allocations: 489.1 kB / 0.8377 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007523/0.6112, allocations: 0.9061 MB / 0.8385 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.6133, allocations: 2.44 MB / 0.8409 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6134, allocations: 0 / 0.8409 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6134, allocations: 3.938 kB / 0.8409 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.582e-05/0.6134, allocations: 1.219 kB / 0.8409 GB, free: 14.53 MB / 0.5762 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.004083/0.6175, allocations: 2.018 MB / 0.8429 GB, free: 13 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.6175, allocations: 9.25 kB / 0.8429 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.6186, allocations: 260.2 kB / 0.8432 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6199, allocations: 0.9714 MB / 0.8441 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.62, allocations: 113.9 kB / 0.8442 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.6202, allocations: 148.2 kB / 0.8444 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.6227, allocations: 1.585 MB / 0.8459 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.6228, allocations: 0 / 0.8459 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.6229, allocations: 67.25 kB / 0.846 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.623, allocations: 36.72 kB / 0.846 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.6256, allocations: 1.631 MB / 0.8476 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006149/0.6317, allocations: 4.145 MB / 0.8516 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.6337, allocations: 1.19 MB / 0.8528 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007457/0.6345, allocations: 479.4 kB / 0.8533 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.6346, allocations: 53.2 kB / 0.8533 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.6358, allocations: 0.7726 MB / 0.8541 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=128): time 2.716e-06/0.6358, allocations: 10.84 kB / 0.8541 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=128): time 0.00416/0.64, allocations: 1.829 MB / 0.8559 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.6401, allocations: 201.4 kB / 0.8561 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6411, allocations: 0.8667 MB / 0.8569 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.655e-05/0.6412, allocations: 52.83 kB / 0.857 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/0.6417, allocations: 0.6055 MB / 0.8575 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00031/0.642, allocations: 414.6 kB / 0.8579 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003766/0.6424, allocations: 251.6 kB / 0.8582 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6425, allocations: 354.5 kB / 0.8585 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007896/0.6433, allocations: 449.3 kB / 0.8589 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009434/0.6443, allocations: 0.5608 MB / 0.8595 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.646, allocations: 0.9808 MB / 0.8605 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.646, allocations: 3.938 kB / 0.8605 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002672/0.6486, allocations: 1.336 MB / 0.8618 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6487, allocations: 5.25 kB / 0.8618 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6487, allocations: 0 / 0.8618 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/0.6493, allocations: 92.27 kB / 0.8619 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6504, allocations: 267.2 kB / 0.8621 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.6525, allocations: 1.653 MB / 0.8637 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6536, allocations: 146 kB / 0.8639 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.6537, allocations: 60.12 kB / 0.8639 GB, free: 15.05 MB / 0.5919 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.0005548/0.6543, allocations: 347.4 kB / 0.8643 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.6545, allocations: 126.2 kB / 0.8644 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.6581, allocations: 1.703 MB / 0.866 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.6581, allocations: 16.31 kB / 0.8661 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6581, allocations: 3.984 kB / 0.8661 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.6581, allocations: 6.453 kB / 0.8661 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.6596, allocations: 1.408 MB / 0.8674 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.6596, allocations: 0 / 0.8674 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009108/0.6605, allocations: 214.5 kB / 0.8676 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/0.661, allocations: 76.72 kB / 0.8677 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/0.6611, allocations: 42.09 kB / 0.8678 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.6629, allocations: 1.674 MB / 0.8694 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.663, allocations: 3.938 kB / 0.8694 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.6656, allocations: 1.4 MB / 0.8708 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.6661, allocations: 379.4 kB / 0.8711 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/0.6663, allocations: 37.7 kB / 0.8712 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/0.6672, allocations: 86.48 kB / 0.8712 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.6674, allocations: 111.9 kB / 0.8713 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.6675, allocations: 55.12 kB / 0.8714 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007699/0.6683, allocations: 0.643 MB / 0.872 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6683, allocations: 4 kB / 0.872 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001016/0.6693, allocations: 465.6 kB / 0.8725 GB, free: 9.324 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.001401/0.6708, allocations: 0.627 MB / 0.8731 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003823/0.6746, allocations: 1.583 MB / 0.8746 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6746, allocations: 0 / 0.8746 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.6759, allocations: 0.7402 MB / 0.8754 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.6772, allocations: 330.4 kB / 0.8757 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.6827, allocations: 3.392 MB / 0.879 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008241/0.6835, allocations: 1.236 MB / 0.8802 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001123/0.6846, allocations: 333.9 kB / 0.8805 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.6851, allocations: 159.3 kB / 0.8807 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of SimCode: time 7.21e-07/0.6851, allocations: 0 / 0.8807 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of Templates: time 0.0318/0.7169, allocations: 20.57 MB / 0.9008 GB, free: 13.36 MB / 0.6231 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)