Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008786/0.0008786, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004857/0.004857, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.198/1.198, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.057/2.057, allocations: 390.9 MB / 0.6664 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002855, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.4988, allocations: 142.4 MB / 0.9552 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00484/0.5037, allocations: 6.158 MB / 0.9612 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1351/0.6388, allocations: 149.4 MB / 1.107 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004855/0.6393, allocations: 31.81 kB / 1.107 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005576/0.6399, allocations: 257.9 kB / 1.107 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.6412, allocations: 0.6146 MB / 1.108 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001901/0.6431, allocations: 1.218 MB / 1.109 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.6449, allocations: 2.394 MB / 1.112 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.646, allocations: 1.049 MB / 1.113 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.6466, allocations: 0.6337 MB / 1.113 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/0.6473, allocations: 0.7149 MB / 1.114 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.6474, allocations: 48 kB / 1.114 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.6484, allocations: 0.7879 MB / 1.115 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000274/0.6487, allocations: 358.3 kB / 1.115 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.6493, allocations: 0.8169 MB / 1.116 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.6513, allocations: 2.713 MB / 1.118 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.6513, allocations: 4 kB / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6513, allocations: 0 / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.6514, allocations: 0 / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.003144/0.6545, allocations: 1.977 MB / 1.12 GB, free: 5.434 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6545, allocations: 12.03 kB / 1.12 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002282/0.6548, allocations: 211.4 kB / 1.121 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/0.6565, allocations: 397.8 kB / 1.121 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6581, allocations: 1.272 MB / 1.122 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.6582, allocations: 114.9 kB / 1.122 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.6584, allocations: 136 kB / 1.122 GB, free: 3.238 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.6609, allocations: 1.67 MB / 1.124 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.661, allocations: 0 / 1.124 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.6611, allocations: 60 kB / 1.124 GB, free: 1.418 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.6611, allocations: 36 kB / 1.124 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003213/0.6644, allocations: 2.166 MB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00626/0.6706, allocations: 4.814 MB / 1.131 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/0.6735, allocations: 1.633 MB / 1.133 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.6746, allocations: 0.6028 MB / 1.133 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.6747, allocations: 53.22 kB / 1.133 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001512/0.6762, allocations: 0.9501 MB / 1.134 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=154): time 2.385e-06/0.6762, allocations: 0 / 1.134 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of matching and sorting (n=154): time 0.005628/0.6818, allocations: 2.401 MB / 1.137 GB, free: 4.582 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.682, allocations: 359.4 kB / 1.137 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.6832, allocations: 1.163 MB / 1.138 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.6834, allocations: 57.7 kB / 1.138 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.6838, allocations: 0.6622 MB / 1.139 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003474/0.6842, allocations: 0.489 MB / 1.139 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.6843, allocations: 113.7 kB / 1.139 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6844, allocations: 353.9 kB / 1.14 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009964/0.6854, allocations: 0.4958 MB / 1.14 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.6866, allocations: 0.7298 MB / 1.141 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.6887, allocations: 1.215 MB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6887, allocations: 4 kB / 1.142 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003411/0.6922, allocations: 1.602 MB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6922, allocations: 8.281 kB / 1.144 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6922, allocations: 4 kB / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.6932, allocations: 173.4 kB / 1.144 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.6944, allocations: 303.5 kB / 1.144 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003369/0.6978, allocations: 3.067 MB / 1.147 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.6989, allocations: 198.6 kB / 1.147 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.699, allocations: 67.95 kB / 1.147 GB, free: 9.012 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000538/0.6995, allocations: 411.5 kB / 1.148 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.6998, allocations: 162.1 kB / 1.148 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004595/0.7044, allocations: 2.197 MB / 1.15 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.7044, allocations: 23.98 kB / 1.15 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.7044, allocations: 0 / 1.15 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.7044, allocations: 11.95 kB / 1.15 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.706, allocations: 1.633 MB / 1.152 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.706, allocations: 0 / 1.152 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.7071, allocations: 295.6 kB / 1.152 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00095/0.708, allocations: 169.5 kB / 1.152 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.7082, allocations: 47.95 kB / 1.152 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003208/0.7114, allocations: 3.123 MB / 1.155 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7114, allocations: 0 / 1.155 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003599/0.715, allocations: 1.835 MB / 1.157 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005693/0.7156, allocations: 0.4943 MB / 1.157 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.7158, allocations: 36 kB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.717, allocations: 161.9 kB / 1.158 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.7172, allocations: 149.7 kB / 1.158 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.7173, allocations: 75.89 kB / 1.158 GB, free: 13.8 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009319/0.7183, allocations: 0.803 MB / 1.159 GB, free: 13 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.7183, allocations: 0 / 1.159 GB, free: 13 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009938/0.7193, allocations: 0.4989 MB / 1.159 GB, free: 12.5 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004988/0.7243, allocations: 2.954 MB / 1.162 GB, free: 9.695 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002802/0.7271, allocations: 1.61 MB / 1.164 GB, free: 8.059 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.7271, allocations: 4 kB / 1.164 GB, free: 8.055 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.7288, allocations: 1.051 MB / 1.165 GB, free: 6.977 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.7308, allocations: 0.5134 MB / 1.165 GB, free: 6.477 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/0.7532, allocations: 13.14 MB / 1.178 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008081/0.754, allocations: 1.339 MB / 1.179 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00144/0.7555, allocations: 0.5088 MB / 1.18 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009339/0.7564, allocations: 0.7335 MB / 1.18 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.7564, allocations: 0 / 1.18 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6253/1.382, allocations: 36.97 MB / 1.217 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/1.382, allocations: 293.9 kB / 1.217 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.216/4.598, allocations: 4 kB / 1.217 GB, free: 1.426 MB / 0.9669 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)