Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 181.7 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008846/0.0008843, allocations: 92.86 kB / 0.6821 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003532, allocations: 11.84 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2492, allocations: 106.3 MB / 0.9001 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004265/0.2535, allocations: 3.448 MB / 0.9035 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1537/0.4073, allocations: 127.2 MB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007856/0.4081, allocations: 11.94 kB / 1.028 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.4085, allocations: 67.41 kB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.4099, allocations: 425.3 kB / 1.028 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.4116, allocations: 0.5726 MB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.4127, allocations: 0.7324 MB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006781/0.4134, allocations: 463 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004507/0.4139, allocations: 282.8 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003736/0.4143, allocations: 284.3 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/0.4143, allocations: 20 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006058/0.415, allocations: 247.7 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.4151, allocations: 155.3 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.4153, allocations: 181.1 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.4164, allocations: 1.025 MB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.4164, allocations: 0 / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4164, allocations: 3.938 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.4164, allocations: 0 / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002034/0.4185, allocations: 1.108 MB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4185, allocations: 8.031 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.4187, allocations: 126.7 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009058/0.4196, allocations: 182.7 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.4207, allocations: 0.6681 MB / 1.034 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.481e-05/0.4208, allocations: 58 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.4209, allocations: 79.94 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.4224, allocations: 0.8286 MB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.4224, allocations: 4 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.663e-05/0.4225, allocations: 32 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.4225, allocations: 19.95 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.4242, allocations: 1.057 MB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.4282, allocations: 2.373 MB / 1.038 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.4295, allocations: 0.739 MB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.816e-05/0.4296, allocations: 28.59 kB / 1.039 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007868/0.4304, allocations: 425.7 kB / 1.04 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 3.777e-06/0.4304, allocations: 4 kB / 1.04 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.002899/0.4333, allocations: 1.075 MB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.4335, allocations: 200.4 kB / 1.041 GB, free: 15.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.4343, allocations: 0.5538 MB / 1.041 GB, free: 15.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.4343, allocations: 45.7 kB / 1.041 GB, free: 15.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.4347, allocations: 364.3 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.4349, allocations: 240.6 kB / 1.042 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.4349, allocations: 8 kB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.4351, allocations: 374.8 kB / 1.042 GB, free: 14.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.4356, allocations: 221.2 kB / 1.043 GB, free: 13.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.4361, allocations: 314.8 kB / 1.043 GB, free: 13.53 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.4366, allocations: 271.1 kB / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4366, allocations: 0 / 1.043 GB, free: 13.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001634/0.4383, allocations: 0.7159 MB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4383, allocations: 7.953 kB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4383, allocations: 4 kB / 1.044 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.4389, allocations: 84.86 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/0.4395, allocations: 135.8 kB / 1.044 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.4417, allocations: 1.544 MB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.4423, allocations: 79.59 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.4423, allocations: 28.03 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004472/0.4428, allocations: 249.7 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.4429, allocations: 83.02 kB / 1.046 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.4451, allocations: 1.001 MB / 1.047 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.4451, allocations: 8 kB / 1.047 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4451, allocations: 0 / 1.047 GB, free: 9.156 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4451, allocations: 3.984 kB / 1.047 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4462, allocations: 0.8371 MB / 1.048 GB, free: 8.266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4462, allocations: 4 kB / 1.048 GB, free: 8.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.4467, allocations: 135.8 kB / 1.048 GB, free: 8.129 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005025/0.4473, allocations: 84.78 kB / 1.048 GB, free: 8.043 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.4473, allocations: 19.98 kB / 1.048 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.4494, allocations: 1.571 MB / 1.05 GB, free: 6.316 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4494, allocations: 64 / 1.05 GB, free: 6.316 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.4512, allocations: 0.8343 MB / 1.05 GB, free: 5.457 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.4516, allocations: 271.8 kB / 1.051 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-05/0.4517, allocations: 20 kB / 1.051 GB, free: 5.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000494/0.4522, allocations: 59.95 kB / 1.051 GB, free: 5.094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.4523, allocations: 68.86 kB / 1.051 GB, free: 5.027 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.4524, allocations: 27.98 kB / 1.051 GB, free: 5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005517/0.4529, allocations: 415 kB / 1.051 GB, free: 4.594 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.453, allocations: 4 kB / 1.051 GB, free: 4.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007752/0.4537, allocations: 259.3 kB / 1.051 GB, free: 4.336 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003052/0.4568, allocations: 1.833 MB / 1.053 GB, free: 2.633 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.4582, allocations: 0.7238 MB / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4583, allocations: 0 / 1.054 GB, free: 1.898 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.4591, allocations: 492.4 kB / 1.054 GB, free: 1.406 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4601, allocations: 240.7 kB / 1.055 GB, free: 1.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4685/0.9286, allocations: 4.967 MB / 1.059 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.9291, allocations: 1.012 MB / 1.06 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009348/0.93, allocations: 247.3 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.9305, allocations: 344.5 kB / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.422e-06/0.9306, allocations: 0 / 1.061 GB, free: 151.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/0.9835, allocations: 19.32 MB / 1.08 GB, free: 145.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.9837, allocations: 281.4 kB / 1.08 GB, free: 145.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.669, allocations: 4.531 kB / 1.08 GB, free: 145.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)