Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001621/0.001621, allocations: 195.5 kB / 16.14 MB, free: 6.648 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.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002626/0.002626, allocations: 293.8 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5068 GB, free: 4.812 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 101.1 kB / 0.6057 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1535, allocations: 89.15 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006689/0.1602, allocations: 4.821 MB / 0.6975 GB, free: 16 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4376/0.5978, allocations: 148.3 MB / 0.8423 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008203/0.5987, allocations: 23.22 kB / 0.8423 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.5993, allocations: 148.6 kB / 0.8425 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.6008, allocations: 470.4 kB / 0.8429 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.6027, allocations: 0.7215 MB / 0.8436 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.6041, allocations: 1.285 MB / 0.8449 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.605, allocations: 0.5731 MB / 0.8454 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006548/0.6057, allocations: 420.2 kB / 0.8458 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.6063, allocations: 473.5 kB / 0.8463 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.6064, allocations: 57.66 kB / 0.8463 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008053/0.6072, allocations: 400.3 kB / 0.8467 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002604/0.6075, allocations: 236.1 kB / 0.8469 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004951/0.608, allocations: 0.5012 MB / 0.8474 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.6095, allocations: 1.546 MB / 0.8489 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.6096, allocations: 7.656 kB / 0.8489 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.81e-07/0.6096, allocations: 0 / 0.8489 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.515e-05/0.6096, allocations: 0 / 0.8489 GB, free: 5.145 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002636/0.6122, allocations: 1.426 MB / 0.8503 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6123, allocations: 10.19 kB / 0.8503 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009287/0.6132, allocations: 188.4 kB / 0.8505 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.6143, allocations: 0.7337 MB / 0.8512 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.6144, allocations: 63.59 kB / 0.8513 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.6145, allocations: 82.39 kB / 0.8514 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.6161, allocations: 0.9196 MB / 0.8523 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.6162, allocations: 0 / 0.8523 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.765e-05/0.6163, allocations: 38.12 kB / 0.8523 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.6163, allocations: 20 kB / 0.8523 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.6181, allocations: 1.11 MB / 0.8534 GB, free: 2.117 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004125/0.6222, allocations: 2.733 MB / 0.8561 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.6237, allocations: 0.8876 MB / 0.857 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.6243, allocations: 308.5 kB / 0.8572 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.011e-05/0.6244, allocations: 39.83 kB / 0.8573 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009243/0.6253, allocations: 494.1 kB / 0.8578 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 5.019e-06/0.6253, allocations: 2.531 kB / 0.8578 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.00316/0.6285, allocations: 1.189 MB / 0.8589 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.6286, allocations: 192.3 kB / 0.8591 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/0.6294, allocations: 0.6276 MB / 0.8597 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.6295, allocations: 40.39 kB / 0.8598 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/0.6298, allocations: 400.5 kB / 0.8601 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/0.6301, allocations: 252.9 kB / 0.8604 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.6303, allocations: 162.7 kB / 0.8605 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.6305, allocations: 391.9 kB / 0.8609 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005255/0.6311, allocations: 267 kB / 0.8612 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.6317, allocations: 362.4 kB / 0.8615 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.6328, allocations: 0.6044 MB / 0.8621 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6328, allocations: 0 / 0.8621 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001931/0.6348, allocations: 0.8486 MB / 0.8629 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6348, allocations: 7.906 kB / 0.8629 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6348, allocations: 0 / 0.8629 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006928/0.6355, allocations: 86.16 kB / 0.863 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.6362, allocations: 155.2 kB / 0.8632 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.6384, allocations: 1.55 MB / 0.8647 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/0.6391, allocations: 89.53 kB / 0.8648 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.6392, allocations: 38.38 kB / 0.8648 GB, free: 9.832 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004175/0.6396, allocations: 266.1 kB / 0.8651 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.6398, allocations: 95.3 kB / 0.8651 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/0.6421, allocations: 1.057 MB / 0.8662 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6422, allocations: 13.34 kB / 0.8662 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.6422, allocations: 0 / 0.8662 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.6422, allocations: 3.984 kB / 0.8662 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.6453, allocations: 1.956 MB / 0.8681 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6454, allocations: 3.984 kB / 0.8681 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.6459, allocations: 140.2 kB / 0.8682 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005458/0.6465, allocations: 86.17 kB / 0.8683 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-05/0.6465, allocations: 23.45 kB / 0.8683 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.6485, allocations: 1.562 MB / 0.8699 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.6485, allocations: 0 / 0.8699 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.6506, allocations: 0.9999 MB / 0.8708 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.651, allocations: 267.8 kB / 0.8711 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/0.6511, allocations: 16 kB / 0.8711 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006805/0.6518, allocations: 72.39 kB / 0.8712 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.6519, allocations: 68.84 kB / 0.8713 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.652, allocations: 40.09 kB / 0.8713 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005715/0.6526, allocations: 455 kB / 0.8717 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6526, allocations: 0 / 0.8717 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000884/0.6535, allocations: 315.3 kB / 0.872 GB, free: 3.707 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001937/0.6555, allocations: 0.6143 MB / 0.8726 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.6572, allocations: 0.8239 MB / 0.8734 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6572, allocations: 0 / 0.8734 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009936/0.6582, allocations: 0.516 MB / 0.8739 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6594, allocations: 274.8 kB / 0.8742 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.6626, allocations: 2.041 MB / 0.8762 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/0.6633, allocations: 1.02 MB / 0.8772 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008177/0.6641, allocations: 266.5 kB / 0.8774 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.6644, allocations: 99.39 kB / 0.8775 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.6644, allocations: 0 / 0.8775 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of Templates: time 0.02601/0.6904, allocations: 14.53 MB / 0.8917 GB, free: 15.81 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)