Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001356/0.001356, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.401/1.401, 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.002303/0.002303, allocations: 278.3 kB / 291.3 MB, free: 14.58 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9489/0.9489, allocations: 169.3 MB / 0.4988 GB, free: 4.547 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 102.3 kB / 0.5959 GB, free: 15.21 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1857, allocations: 86.97 MB / 0.6808 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007486/0.1932, allocations: 4.408 MB / 0.6851 GB, free: 3.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5329/0.7262, allocations: 150.6 MB / 0.8322 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009006/0.7271, allocations: 15.94 kB / 0.8322 GB, free: 3.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007502/0.7279, allocations: 180.6 kB / 0.8324 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.7301, allocations: 0.5191 MB / 0.8329 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.7324, allocations: 0.8301 MB / 0.8337 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.7342, allocations: 1.343 MB / 0.835 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.7353, allocations: 0.6283 MB / 0.8356 GB, free: 408 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008883/0.7362, allocations: 490.3 kB / 0.8361 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007877/0.737, allocations: 0.5095 MB / 0.8366 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.7374, allocations: 116 kB / 0.8367 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.7385, allocations: 455.6 kB / 0.8371 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.7389, allocations: 303.1 kB / 0.8374 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005719/0.7394, allocations: 0.5557 MB / 0.838 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.7412, allocations: 1.604 MB / 0.8395 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.7413, allocations: 4 kB / 0.8395 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7413, allocations: 0 / 0.8395 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.7413, allocations: 0 / 0.8395 GB, free: 12.38 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002476/0.7438, allocations: 1.441 MB / 0.8409 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7438, allocations: 12.03 kB / 0.8409 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/0.7448, allocations: 191.3 kB / 0.8411 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/0.7457, allocations: 0.755 MB / 0.8419 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.7458, allocations: 62 kB / 0.8419 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.7459, allocations: 87.98 kB / 0.842 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.7474, allocations: 0.9453 MB / 0.8429 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.7475, allocations: 0 / 0.8429 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.7476, allocations: 32 kB / 0.843 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.7476, allocations: 25.75 kB / 0.843 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.7493, allocations: 1.128 MB / 0.8441 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.7531, allocations: 2.535 MB / 0.8466 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.7546, allocations: 0.9088 MB / 0.8474 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/0.7552, allocations: 318.6 kB / 0.8478 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-05/0.7552, allocations: 24.69 kB / 0.8478 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009268/0.7562, allocations: 0.5233 MB / 0.8483 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=84): time 2.244e-06/0.7562, allocations: 0 / 0.8483 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.003164/0.7594, allocations: 1.251 MB / 0.8495 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.7595, allocations: 188.9 kB / 0.8497 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007743/0.7603, allocations: 0.6371 MB / 0.8503 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.7603, allocations: 41.7 kB / 0.8504 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.7606, allocations: 404.4 kB / 0.8507 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.7608, allocations: 276.1 kB / 0.851 GB, free: 304 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002427/0.7611, allocations: 170.5 kB / 0.8512 GB, free: 128 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7613, allocations: 390.7 kB / 0.8515 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.7618, allocations: 277.8 kB / 0.8518 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.7625, allocations: 372 kB / 0.8522 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.7636, allocations: 0.6281 MB / 0.8528 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7636, allocations: 0 / 0.8528 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001965/0.7655, allocations: 0.8761 MB / 0.8536 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7656, allocations: 4 kB / 0.8536 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7656, allocations: 0 / 0.8536 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005992/0.7662, allocations: 84.8 kB / 0.8537 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.7669, allocations: 176.9 kB / 0.8539 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.7692, allocations: 1.625 MB / 0.8555 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.7701, allocations: 103.2 kB / 0.8556 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.7702, allocations: 43.72 kB / 0.8556 GB, free: 11.39 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0004999/0.7707, allocations: 273.2 kB / 0.8559 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.7709, allocations: 86.95 kB / 0.8559 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.7734, allocations: 1.136 MB / 0.8571 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.7735, allocations: 12 kB / 0.8571 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7735, allocations: 3.938 kB / 0.8571 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.7735, allocations: 3.984 kB / 0.8571 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/0.7771, allocations: 2.025 MB / 0.8591 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7772, allocations: 0 / 0.8591 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.7778, allocations: 155.8 kB / 0.8592 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004632/0.7783, allocations: 68.8 kB / 0.8593 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/0.7783, allocations: 27.97 kB / 0.8593 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.7805, allocations: 1.67 MB / 0.8609 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7805, allocations: 0 / 0.8609 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.7827, allocations: 1.047 MB / 0.8619 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003833/0.7831, allocations: 275.7 kB / 0.8622 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.7833, allocations: 27.92 kB / 0.8622 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.784, allocations: 60.64 kB / 0.8623 GB, free: 4.262 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.7841, allocations: 76.89 kB / 0.8624 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/0.7842, allocations: 47.91 kB / 0.8624 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005929/0.7848, allocations: 463 kB / 0.8629 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7848, allocations: 0 / 0.8629 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009735/0.7858, allocations: 327.2 kB / 0.8632 GB, free: 3.375 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001386/0.7872, allocations: 0.5983 MB / 0.8638 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002648/0.7899, allocations: 1.085 MB / 0.8648 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7899, allocations: 0 / 0.8648 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009585/0.7908, allocations: 0.5355 MB / 0.8653 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.7922, allocations: 292.1 kB / 0.8656 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.7963, allocations: 1.862 MB / 0.8674 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.797, allocations: 1.043 MB / 0.8684 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/0.7974, allocations: 119.3 kB / 0.8686 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of SimCode: time 1.172e-06/0.7974, allocations: 4 kB / 0.8686 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of Templates: time 0.02863/0.8261, allocations: 18.78 MB / 0.8869 GB, free: 11.27 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)