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.852/1.852, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001062/0.001062, allocations: 176.1 kB / 371.8 MB, free: 10.14 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.814/1.814, allocations: 205.4 MB / 0.6305 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009556/0.0009559, allocations: 102.8 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004056/0.0004057, allocations: 10.38 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.271, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.667/5.938, allocations: 2.072 GB / 3.051 GB, free: 199 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/5.938, allocations: 98.02 kB / 3.051 GB, free: 199 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2039/6.142, allocations: 91.02 MB / 3.14 GB, free: 116.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.434e-06/6.142, allocations: 0 / 3.14 GB, free: 116.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002261/6.143, allocations: 47.92 kB / 3.14 GB, free: 116.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: 335 * Number of variables: 335 Notification: Performance of Generate backend data structure: time 0.00543/6.148, allocations: 1.846 MB / 3.142 GB, free: 114.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/6.148, allocations: 12.02 kB / 3.142 GB, free: 114.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006842/6.149, allocations: 198.4 kB / 3.142 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/6.151, allocations: 381.4 kB / 3.142 GB, free: 114.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/6.154, allocations: 1.011 MB / 3.143 GB, free: 113.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/6.154, allocations: 94.64 kB / 3.144 GB, free: 113.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/6.154, allocations: 128 kB / 3.144 GB, free: 113 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/6.158, allocations: 1.507 MB / 3.145 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.859e-05/6.158, allocations: 3.984 kB / 3.145 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/6.158, allocations: 52 kB / 3.145 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/6.158, allocations: 39.95 kB / 3.145 GB, free: 111.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003344/6.161, allocations: 2.043 MB / 3.147 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008233/6.169, allocations: 4.464 MB / 3.152 GB, free: 104.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/6.172, allocations: 1.455 MB / 3.153 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/6.172, allocations: 57.17 kB / 3.153 GB, free: 103.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/6.174, allocations: 0.8001 MB / 3.154 GB, free: 102.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 4.739e-06/6.174, allocations: 0 / 3.154 GB, free: 102.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.005961/6.18, allocations: 2.152 MB / 3.156 GB, free: 100.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/6.18, allocations: 462 kB / 3.156 GB, free: 99.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/6.182, allocations: 1.045 MB / 3.157 GB, free: 98.56 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/6.182, allocations: 53.7 kB / 3.157 GB, free: 98.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/6.183, allocations: 0.6069 MB / 3.158 GB, free: 97.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/6.183, allocations: 449.4 kB / 3.159 GB, free: 97.44 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/6.183, allocations: 20 kB / 3.159 GB, free: 97.42 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001049/6.183, allocations: 357.9 kB / 3.159 GB, free: 97.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009076/6.184, allocations: 446.4 kB / 3.159 GB, free: 96.63 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/6.185, allocations: 0.6501 MB / 3.16 GB, free: 95.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009936/6.186, allocations: 0.5262 MB / 3.16 GB, free: 95.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/6.186, allocations: 0 / 3.16 GB, free: 95.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003608/6.19, allocations: 1.432 MB / 3.162 GB, free: 93.93 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/6.19, allocations: 4 kB / 3.162 GB, free: 93.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/6.19, allocations: 4 kB / 3.162 GB, free: 93.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/6.191, allocations: 165.7 kB / 3.162 GB, free: 93.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/6.192, allocations: 271.6 kB / 3.162 GB, free: 93.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/6.196, allocations: 3.08 MB / 3.165 GB, free: 90.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/6.197, allocations: 166.9 kB / 3.165 GB, free: 89.97 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000187/6.197, allocations: 59.91 kB / 3.165 GB, free: 89.91 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 () * Number of clocked 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.001112/6.199, allocations: 381.5 kB / 3.166 GB, free: 89.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/6.199, allocations: 146.2 kB / 3.166 GB, free: 89.39 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/6.204, allocations: 2.014 MB / 3.168 GB, free: 87.35 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/6.204, allocations: 24 kB / 3.168 GB, free: 87.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/6.204, allocations: 0 / 3.168 GB, free: 87.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/6.204, allocations: 7.969 kB / 3.168 GB, free: 87.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/6.207, allocations: 1.521 MB / 3.169 GB, free: 85.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/6.207, allocations: 4 kB / 3.169 GB, free: 85.74 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/6.208, allocations: 279.5 kB / 3.17 GB, free: 85.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009968/6.209, allocations: 169.5 kB / 3.17 GB, free: 85.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/6.209, allocations: 43.97 kB / 3.17 GB, free: 85.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003167/6.212, allocations: 3.147 MB / 3.173 GB, free: 81.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/6.212, allocations: 0 / 3.173 GB, free: 81.83 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003673/6.216, allocations: 1.645 MB / 3.175 GB, free: 80.15 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/6.217, allocations: 490.4 kB / 3.175 GB, free: 79.65 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004007/6.217, allocations: 36 kB / 3.175 GB, free: 79.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/6.219, allocations: 131.9 kB / 3.175 GB, free: 79.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/6.219, allocations: 121.8 kB / 3.175 GB, free: 79.37 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/6.219, allocations: 55.97 kB / 3.175 GB, free: 79.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00142/6.22, allocations: 0.835 MB / 3.176 GB, free: 78.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/6.22, allocations: 4 kB / 3.176 GB, free: 78.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001885/6.222, allocations: 0.5222 MB / 3.177 GB, free: 77.95 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) * Number of clocked states: 0 () * 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.005669/6.228, allocations: 3.274 MB / 3.18 GB, free: 74.75 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002784/6.231, allocations: 1.455 MB / 3.181 GB, free: 73.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/6.231, allocations: 4 kB / 3.181 GB, free: 73.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/6.232, allocations: 0.9653 MB / 3.182 GB, free: 72.28 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/6.235, allocations: 463.9 kB / 3.183 GB, free: 71.83 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/6.255, allocations: 10.2 MB / 3.193 GB, free: 61.29 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/6.257, allocations: 1.312 MB / 3.194 GB, free: 59.94 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002104/6.259, allocations: 0.4956 MB / 3.194 GB, free: 59.44 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/6.26, allocations: 0.6593 MB / 3.195 GB, free: 58.79 MB / 0.948 GB Notification: Performance of SimCode: time 1.192e-06/6.26, allocations: 0 / 3.195 GB, free: 58.79 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08103/6.341, allocations: 46.46 MB / 3.241 GB, free: 12.64 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/6.341, allocations: 276.2 kB / 3.241 GB, free: 12.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.109/10.45, allocations: 0 / 3.241 GB, free: 12.27 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)