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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001164/0.001164, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.166/1.166, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.016/2.016, allocations: 390.2 MB / 0.6647 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.88 kB / 0.8126 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.468, allocations: 140.4 MB / 0.9497 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005706/0.4738, allocations: 6.68 MB / 0.9562 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1369/0.6106, allocations: 153.4 MB / 1.106 GB, free: 1.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.6119, allocations: 31.81 kB / 1.106 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.6128, allocations: 328.9 kB / 1.106 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.615, allocations: 0.7261 MB / 1.107 GB, free: 112 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.6176, allocations: 1.365 MB / 1.108 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.6197, allocations: 2.566 MB / 1.111 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.621, allocations: 1.092 MB / 1.112 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008299/0.6218, allocations: 0.8642 MB / 1.113 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007993/0.6226, allocations: 0.9061 MB / 1.114 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002526/0.6229, allocations: 212 kB / 1.114 GB, free: 9.055 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.6241, allocations: 0.9481 MB / 1.115 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003804/0.6245, allocations: 0.5374 MB / 1.115 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007165/0.6252, allocations: 1.003 MB / 1.116 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.6275, allocations: 2.894 MB / 1.119 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.6275, allocations: 0 / 1.119 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6275, allocations: 0 / 1.119 GB, free: 3.656 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.6275, allocations: 0 / 1.119 GB, free: 3.656 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.00348/0.631, allocations: 2.37 MB / 1.122 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.631, allocations: 8.031 kB / 1.122 GB, free: 1.215 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000219/0.6313, allocations: 215.4 kB / 1.122 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/0.633, allocations: 377.8 kB / 1.122 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.6345, allocations: 1.272 MB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-05/0.6346, allocations: 106.8 kB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.6348, allocations: 148 kB / 1.124 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.6372, allocations: 1.65 MB / 1.125 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.6372, allocations: 4 kB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.6373, allocations: 60 kB / 1.125 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.6374, allocations: 36 kB / 1.125 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/0.6405, allocations: 2.154 MB / 1.127 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.6466, allocations: 4.741 MB / 1.132 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.6495, allocations: 1.612 MB / 1.134 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.6505, allocations: 0.5911 MB / 1.134 GB, free: 4 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.6506, allocations: 57.22 kB / 1.134 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/0.6521, allocations: 0.9423 MB / 1.135 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=154): time 2.405e-06/0.6521, allocations: 0 / 1.135 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of matching and sorting (n=154): time 0.005666/0.6578, allocations: 2.374 MB / 1.137 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.6579, allocations: 359.4 kB / 1.138 GB, free: 124 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.6592, allocations: 1.163 MB / 1.139 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.6593, allocations: 57.7 kB / 1.139 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.6597, allocations: 0.6583 MB / 1.14 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.6601, allocations: 0.489 MB / 1.14 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.6604, allocations: 283.3 kB / 1.14 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6606, allocations: 357.9 kB / 1.141 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.6616, allocations: 0.4919 MB / 1.141 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.6628, allocations: 0.7258 MB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002102/0.6649, allocations: 1.184 MB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6649, allocations: 0 / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003478/0.6684, allocations: 1.583 MB / 1.145 GB, free: 8.973 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6684, allocations: 12.16 kB / 1.145 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.6684, allocations: 7.938 kB / 1.145 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.6695, allocations: 169.4 kB / 1.145 GB, free: 8.781 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.6706, allocations: 303.5 kB / 1.145 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003531/0.6742, allocations: 3.291 MB / 1.148 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.6753, allocations: 182.8 kB / 1.148 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.6754, allocations: 63.95 kB / 1.149 GB, free: 4.66 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.0005244/0.6759, allocations: 405.5 kB / 1.149 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.6762, allocations: 166 kB / 1.149 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/0.6808, allocations: 2.185 MB / 1.151 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.6808, allocations: 20 kB / 1.151 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6809, allocations: 3.938 kB / 1.151 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.6809, allocations: 7.969 kB / 1.151 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.6825, allocations: 1.621 MB / 1.153 GB, free: 184 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.6825, allocations: 0 / 1.153 GB, free: 184 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.6836, allocations: 291.6 kB / 1.153 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007836/0.6843, allocations: 141.6 kB / 1.153 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.489e-05/0.6845, allocations: 51.95 kB / 1.153 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/0.6878, allocations: 3.351 MB / 1.157 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6878, allocations: 3.938 kB / 1.157 GB, free: 12.05 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/0.6913, allocations: 1.816 MB / 1.158 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.6919, allocations: 478.3 kB / 1.159 GB, free: 9.723 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.6921, allocations: 40 kB / 1.159 GB, free: 9.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.6932, allocations: 137.4 kB / 1.159 GB, free: 9.551 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.6934, allocations: 129.8 kB / 1.159 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.6935, allocations: 71.95 kB / 1.159 GB, free: 9.352 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008963/0.6944, allocations: 0.8107 MB / 1.16 GB, free: 8.539 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6944, allocations: 0 / 1.16 GB, free: 8.539 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009798/0.6954, allocations: 0.5027 MB / 1.16 GB, free: 8.035 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.004925/0.7004, allocations: 2.924 MB / 1.163 GB, free: 5.254 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004026/0.7044, allocations: 1.997 MB / 1.165 GB, free: 3.234 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.7044, allocations: 0 / 1.165 GB, free: 3.234 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.7061, allocations: 1.051 MB / 1.166 GB, free: 2.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.7079, allocations: 0.5739 MB / 1.167 GB, free: 1.625 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/0.7266, allocations: 12.29 MB / 1.179 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007862/0.7274, allocations: 1.337 MB / 1.18 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001364/0.7288, allocations: 0.5165 MB / 1.181 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000897/0.7297, allocations: 0.7412 MB / 1.181 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.7297, allocations: 0 / 1.181 GB, free: 2.266 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06201/0.7917, allocations: 38.79 MB / 1.219 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.13, allocations: 8.062 kB / 1.219 GB, free: 11.9 MB / 0.9825 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)