Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 285.4 MB / 298 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 180.8 kB / 366.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000866/0.0008661, allocations: 90.61 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.093e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8062, allocations: 115.3 MB / 0.971 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.593/6.399, allocations: 2.072 GB / 3.043 GB, free: 22.48 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/6.4, allocations: 92.02 kB / 3.043 GB, free: 22.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8429/7.243, allocations: 62.19 MB / 3.103 GB, free: 328.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/7.243, allocations: 1.562 kB / 3.103 GB, free: 328.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.445e-05/7.243, allocations: 26.22 kB / 3.103 GB, free: 328.8 MB / 0.948 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.001848/7.245, allocations: 1.026 MB / 3.104 GB, free: 328.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/7.245, allocations: 17.02 kB / 3.104 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/7.245, allocations: 127.8 kB / 3.105 GB, free: 328 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009181/7.246, allocations: 175.8 kB / 3.105 GB, free: 327.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/7.247, allocations: 0.6016 MB / 3.105 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/7.247, allocations: 57.69 kB / 3.105 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/7.247, allocations: 76.47 kB / 3.105 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/7.248, allocations: 0.8107 MB / 3.106 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/7.248, allocations: 1.531 kB / 3.106 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/7.249, allocations: 35.19 kB / 3.106 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/7.249, allocations: 18.88 kB / 3.106 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/7.25, allocations: 1.014 MB / 3.107 GB, free: 326.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/7.255, allocations: 2.383 MB / 3.11 GB, free: 325.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/7.256, allocations: 0.6879 MB / 3.11 GB, free: 325.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/7.257, allocations: 269.2 kB / 3.111 GB, free: 325.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/7.257, allocations: 29.92 kB / 3.111 GB, free: 325.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008034/7.258, allocations: 406.9 kB / 3.111 GB, free: 325 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 4.378e-06/7.258, allocations: 0 / 3.111 GB, free: 325 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001971/7.26, allocations: 0.6806 MB / 3.112 GB, free: 324.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/7.26, allocations: 244.4 kB / 3.112 GB, free: 324.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009216/7.261, allocations: 0.5578 MB / 3.112 GB, free: 324.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/7.261, allocations: 46.23 kB / 3.112 GB, free: 324.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/7.261, allocations: 362.9 kB / 3.113 GB, free: 323.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/7.261, allocations: 230.5 kB / 3.113 GB, free: 323.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/7.261, allocations: 10.09 kB / 3.113 GB, free: 323.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001465/7.261, allocations: 376.5 kB / 3.113 GB, free: 323.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/7.262, allocations: 197.1 kB / 3.114 GB, free: 323.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/7.262, allocations: 313.7 kB / 3.114 GB, free: 323 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/7.263, allocations: 248 kB / 3.114 GB, free: 322.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/7.263, allocations: 0 / 3.114 GB, free: 322.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00153/7.264, allocations: 0.6924 MB / 3.115 GB, free: 322.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/7.264, allocations: 5.312 kB / 3.115 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/7.264, allocations: 1.031 kB / 3.115 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/7.265, allocations: 78.97 kB / 3.115 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/7.266, allocations: 136.9 kB / 3.115 GB, free: 322.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/7.267, allocations: 1.53 MB / 3.116 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/7.268, allocations: 76.77 kB / 3.117 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/7.268, allocations: 23.59 kB / 3.117 GB, free: 321.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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.0001724/7.268, allocations: 152.1 kB / 3.117 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/7.269, allocations: 79.45 kB / 3.117 GB, free: 321 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/7.271, allocations: 0.9506 MB / 3.118 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/7.271, allocations: 8.5 kB / 3.118 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/7.271, allocations: 0 / 3.118 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/7.271, allocations: 8.594 kB / 3.118 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/7.272, allocations: 0.8604 MB / 3.119 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/7.272, allocations: 0 / 3.119 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/7.272, allocations: 147.5 kB / 3.119 GB, free: 320.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/7.273, allocations: 80.2 kB / 3.119 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/7.273, allocations: 25.19 kB / 3.119 GB, free: 320.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/7.274, allocations: 1.556 MB / 3.12 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/7.274, allocations: 1.312 kB / 3.12 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/7.276, allocations: 0.7915 MB / 3.121 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/7.276, allocations: 282.5 kB / 3.121 GB, free: 318.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/7.277, allocations: 20.64 kB / 3.121 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/7.277, allocations: 64.12 kB / 3.121 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/7.277, allocations: 57.5 kB / 3.121 GB, free: 318.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/7.277, allocations: 26.97 kB / 3.122 GB, free: 318.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006311/7.278, allocations: 474.6 kB / 3.122 GB, free: 317.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.278, allocations: 0 / 3.122 GB, free: 317.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001226/7.279, allocations: 333 kB / 3.122 GB, free: 317.8 MB / 0.948 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) * 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.003609/7.283, allocations: 2.209 MB / 3.124 GB, free: 316.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001358/7.284, allocations: 0.6808 MB / 3.125 GB, free: 316.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/7.284, allocations: 0.9062 kB / 3.125 GB, free: 316.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007714/7.285, allocations: 471.2 kB / 3.126 GB, free: 316.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/7.286, allocations: 247.6 kB / 3.126 GB, free: 316 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004073/7.29, allocations: 1.497 MB / 3.127 GB, free: 315.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/7.291, allocations: 1.016 MB / 3.128 GB, free: 314.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008497/7.292, allocations: 252.5 kB / 3.128 GB, free: 314.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/7.292, allocations: 341 kB / 3.129 GB, free: 314.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.11e-07/7.292, allocations: 0 / 3.129 GB, free: 314.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05845/7.351, allocations: 30.4 MB / 3.159 GB, free: 296.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/7.351, allocations: 249.1 kB / 3.159 GB, free: 296.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.975/10.33, allocations: 0 / 3.159 GB, free: 296.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)