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.414/1.414, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 175.8 kB / 316.3 MB, free: 3.207 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.7/1.7, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.00116/0.00116, allocations: 93.2 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.503e-05/1.54e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2207, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.886/6.107, allocations: 2.19 GB / 3.075 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/6.107, allocations: 87.55 kB / 3.075 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1226/6.23, allocations: 60.98 MB / 3.135 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/6.23, allocations: 3.938 kB / 3.135 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.282e-05/6.23, allocations: 20 kB / 3.135 GB, free: 120.3 MB / 0.8698 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.001544/6.232, allocations: 1.035 MB / 3.136 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/6.232, allocations: 8.031 kB / 3.136 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/6.233, allocations: 186.6 kB / 3.136 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007156/6.233, allocations: 0.5997 MB / 3.137 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/6.233, allocations: 28 kB / 3.137 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/6.233, allocations: 44 kB / 3.137 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001071/6.234, allocations: 0.964 MB / 3.138 GB, free: 117.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009553/6.235, allocations: 0.7037 MB / 3.138 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/6.235, allocations: 4 kB / 3.138 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/6.235, allocations: 3.953 kB / 3.138 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/6.236, allocations: 20 kB / 3.138 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/6.238, allocations: 2.235 MB / 3.141 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007621/6.239, allocations: 0.6495 MB / 3.141 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/6.239, allocations: 246.4 kB / 3.141 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-05/6.239, allocations: 32.59 kB / 3.141 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/6.24, allocations: 376.8 kB / 3.142 GB, free: 113 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 2.304e-06/6.24, allocations: 0 / 3.142 GB, free: 113 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001247/6.241, allocations: 0.6405 MB / 3.142 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/6.241, allocations: 251.8 kB / 3.143 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/6.242, allocations: 0.4905 MB / 3.143 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/6.242, allocations: 29.7 kB / 3.143 GB, free: 111.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/6.242, allocations: 376.2 kB / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/6.242, allocations: 216.7 kB / 3.144 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/6.242, allocations: 0 / 3.144 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.802e-05/6.242, allocations: 374.8 kB / 3.144 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/6.242, allocations: 185.5 kB / 3.144 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/6.243, allocations: 287.5 kB / 3.145 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/6.243, allocations: 240.4 kB / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/6.243, allocations: 0 / 3.145 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001136/6.244, allocations: 0.6408 MB / 3.145 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/6.244, allocations: 4 kB / 3.145 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/6.244, allocations: 0 / 3.145 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/6.245, allocations: 84.8 kB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/6.245, allocations: 135.8 kB / 3.146 GB, free: 109 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/6.246, allocations: 1.469 MB / 3.147 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/6.247, allocations: 63.45 kB / 3.147 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/6.247, allocations: 27.98 kB / 3.147 GB, free: 107.3 MB / 0.8698 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.0001298/6.247, allocations: 116.9 kB / 3.147 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001137/6.248, allocations: 0.6395 MB / 3.148 GB, free: 106.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/6.248, allocations: 75.16 kB / 3.148 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/6.25, allocations: 0.8909 MB / 3.149 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/6.25, allocations: 8 kB / 3.149 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/6.25, allocations: 0 / 3.149 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/6.25, allocations: 7.938 kB / 3.149 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/6.251, allocations: 0.7513 MB / 3.15 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/6.251, allocations: 0 / 3.15 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/6.251, allocations: 135.8 kB / 3.15 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/6.252, allocations: 84.77 kB / 3.15 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/6.252, allocations: 15.97 kB / 3.15 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/6.253, allocations: 1.492 MB / 3.151 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/6.253, allocations: 3.938 kB / 3.151 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/6.254, allocations: 0.7427 MB / 3.152 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002706/6.254, allocations: 279.8 kB / 3.152 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/6.255, allocations: 3.938 kB / 3.152 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/6.255, allocations: 55.91 kB / 3.152 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.703e-05/6.255, allocations: 56.69 kB / 3.152 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/6.255, allocations: 27.98 kB / 3.152 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003561/6.256, allocations: 406.8 kB / 3.153 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.61e-07/6.256, allocations: 0 / 3.153 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007999/6.256, allocations: 299.1 kB / 3.153 GB, free: 101 MB / 0.8698 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.002608/6.259, allocations: 2.224 MB / 3.155 GB, free: 98.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009248/6.26, allocations: 0.6472 MB / 3.156 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/6.26, allocations: 0 / 3.156 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/6.26, allocations: 436.6 kB / 3.156 GB, free: 97.67 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/6.261, allocations: 222.7 kB / 3.157 GB, free: 97.46 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/6.264, allocations: 1.439 MB / 3.158 GB, free: 95.98 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/6.265, allocations: 1.015 MB / 3.159 GB, free: 94.94 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006736/6.265, allocations: 245.7 kB / 3.159 GB, free: 94.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/6.266, allocations: 343.3 kB / 3.159 GB, free: 94.36 MB / 0.8698 GB Notification: Performance of SimCode: time 3.71e-07/6.266, allocations: 0 / 3.159 GB, free: 94.36 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/6.311, allocations: 22.63 MB / 3.182 GB, free: 71.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/6.312, allocations: 195.2 kB / 3.182 GB, free: 71.55 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/9.013, allocations: 4.031 kB / 3.182 GB, free: 71.55 MB / 0.8698 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)