Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.838/1.838, 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.001279/0.001279, allocations: 180.8 kB / 366.4 MB, free: 2.086 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.797/1.797, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0008763/0.0008764, allocations: 96.38 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.689e-05, allocations: 3.984 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8672/0.8672, allocations: 115.3 MB / 0.971 GB, free: 77.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.608/6.475, allocations: 2.072 GB / 3.043 GB, free: 22.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/6.475, allocations: 87.14 kB / 3.043 GB, free: 22.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.718/7.193, allocations: 90.67 MB / 3.131 GB, free: 317.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.124e-06/7.193, allocations: 0 / 3.131 GB, free: 317.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001354/7.194, allocations: 43.09 kB / 3.131 GB, free: 317.3 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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.003083/7.197, allocations: 1.63 MB / 3.133 GB, free: 316.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/7.197, allocations: 9.844 kB / 3.133 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/7.197, allocations: 196.7 kB / 3.133 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/7.199, allocations: 384 kB / 3.133 GB, free: 315.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/7.2, allocations: 1.005 MB / 3.134 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/7.201, allocations: 95.86 kB / 3.134 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/7.201, allocations: 125.6 kB / 3.135 GB, free: 314.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/7.203, allocations: 1.448 MB / 3.136 GB, free: 313.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/7.203, allocations: 0 / 3.136 GB, free: 313.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/7.203, allocations: 59.23 kB / 3.136 GB, free: 313.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/7.203, allocations: 31.19 kB / 3.136 GB, free: 313.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/7.205, allocations: 1.947 MB / 3.138 GB, free: 313 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006299/7.212, allocations: 4.467 MB / 3.142 GB, free: 309.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/7.214, allocations: 1.339 MB / 3.144 GB, free: 309 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/7.214, allocations: 0.4997 MB / 3.144 GB, free: 308.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/7.214, allocations: 56.89 kB / 3.144 GB, free: 308.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/7.215, allocations: 0.7444 MB / 3.145 GB, free: 308.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 4.248e-06/7.215, allocations: 7.938 kB / 3.145 GB, free: 308.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.002939/7.218, allocations: 1.31 MB / 3.146 GB, free: 307.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/7.218, allocations: 461.7 kB / 3.147 GB, free: 307.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/7.22, allocations: 1.024 MB / 3.148 GB, free: 306.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/7.22, allocations: 53.2 kB / 3.148 GB, free: 306.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/7.221, allocations: 0.6078 MB / 3.148 GB, free: 306 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/7.221, allocations: 453.8 kB / 3.149 GB, free: 305.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.024e-05/7.221, allocations: 23.91 kB / 3.149 GB, free: 305.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/7.221, allocations: 349.6 kB / 3.149 GB, free: 305.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/7.222, allocations: 394.4 kB / 3.149 GB, free: 305 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007313/7.222, allocations: 0.6151 MB / 3.15 GB, free: 304.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/7.223, allocations: 487.1 kB / 3.15 GB, free: 304.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/7.223, allocations: 3.938 kB / 3.15 GB, free: 304.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002819/7.226, allocations: 1.33 MB / 3.152 GB, free: 303.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/7.226, allocations: 8 kB / 3.152 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/7.226, allocations: 0 / 3.152 GB, free: 303.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/7.227, allocations: 173.8 kB / 3.152 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/7.228, allocations: 271.6 kB / 3.152 GB, free: 303.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/7.231, allocations: 3.066 MB / 3.155 GB, free: 299.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/7.233, allocations: 150.8 kB / 3.155 GB, free: 299.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/7.233, allocations: 59.95 kB / 3.155 GB, free: 299.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002993/7.233, allocations: 188.6 kB / 3.156 GB, free: 299.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002972/7.234, allocations: 146.2 kB / 3.156 GB, free: 299.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/7.238, allocations: 1.899 MB / 3.158 GB, free: 297.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/7.238, allocations: 16 kB / 3.158 GB, free: 297.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/7.238, allocations: 0 / 3.158 GB, free: 297.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/7.238, allocations: 7.969 kB / 3.158 GB, free: 297.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/7.24, allocations: 1.524 MB / 3.159 GB, free: 295.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/7.24, allocations: 0 / 3.159 GB, free: 295.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/7.241, allocations: 279.6 kB / 3.159 GB, free: 295.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008992/7.242, allocations: 173.5 kB / 3.16 GB, free: 295.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/7.242, allocations: 43.97 kB / 3.16 GB, free: 295.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002828/7.245, allocations: 3.108 MB / 3.163 GB, free: 291.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/7.245, allocations: 3.938 kB / 3.163 GB, free: 291.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/7.248, allocations: 1.543 MB / 3.164 GB, free: 290.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008817/7.249, allocations: 487 kB / 3.165 GB, free: 289.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/7.249, allocations: 32 kB / 3.165 GB, free: 289.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009688/7.25, allocations: 135.9 kB / 3.165 GB, free: 289.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/7.25, allocations: 117.4 kB / 3.165 GB, free: 289.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/7.25, allocations: 59.95 kB / 3.165 GB, free: 289.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001082/7.251, allocations: 0.8209 MB / 3.166 GB, free: 288.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/7.251, allocations: 2.062 kB / 3.166 GB, free: 288.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001706/7.253, allocations: 0.5184 MB / 3.166 GB, free: 288.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004753/7.258, allocations: 3.14 MB / 3.169 GB, free: 285.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002238/7.26, allocations: 1.355 MB / 3.171 GB, free: 283.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/7.26, allocations: 0 / 3.171 GB, free: 283.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/7.261, allocations: 0.9042 MB / 3.171 GB, free: 282.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/7.264, allocations: 465.8 kB / 3.172 GB, free: 282.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007282/7.271, allocations: 2.85 MB / 3.175 GB, free: 279.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/7.272, allocations: 1.316 MB / 3.176 GB, free: 278.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001775/7.273, allocations: 0.4988 MB / 3.176 GB, free: 277.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008499/7.274, allocations: 0.6593 MB / 3.177 GB, free: 277 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/7.274, allocations: 4 kB / 3.177 GB, free: 277 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1033/7.377, allocations: 48.24 MB / 3.224 GB, free: 229 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/7.378, allocations: 248.9 kB / 3.224 GB, free: 228.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.556/10.93, allocations: 0 / 3.224 GB, free: 228.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)