Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.539/2.539, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001533/0.001533, allocations: 184.8 kB / 360.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001031/0.00103, allocations: 103.3 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.413e-05, allocations: 0 / 0.8508 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8324, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.273/7.105, allocations: 2.071 GB / 3.034 GB, free: 47.54 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/7.106, allocations: 82.14 kB / 3.034 GB, free: 47.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.071/8.177, allocations: 89.2 MB / 3.121 GB, free: 318.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.304e-06/8.177, allocations: 1.062 kB / 3.121 GB, free: 318.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002228/8.177, allocations: 45.08 kB / 3.121 GB, free: 318.1 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.004952/8.182, allocations: 1.628 MB / 3.123 GB, free: 317.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/8.182, allocations: 8.562 kB / 3.123 GB, free: 317.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003629/8.186, allocations: 375.2 kB / 3.123 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/8.189, allocations: 1.014 MB / 3.124 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.261e-05/8.189, allocations: 46.12 kB / 3.124 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/8.189, allocations: 74.16 kB / 3.124 GB, free: 316.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004827/8.194, allocations: 1.86 MB / 3.126 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/8.198, allocations: 1.263 MB / 3.128 GB, free: 315.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/8.198, allocations: 1.906 kB / 3.128 GB, free: 315.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/8.198, allocations: 1.406 kB / 3.128 GB, free: 315.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/8.198, allocations: 37.5 kB / 3.128 GB, free: 315.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01177/8.21, allocations: 4.216 MB / 3.132 GB, free: 313.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/8.213, allocations: 1.267 MB / 3.133 GB, free: 313 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/8.215, allocations: 469 kB / 3.133 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/8.215, allocations: 65.05 kB / 3.133 GB, free: 312.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/8.217, allocations: 0.7108 MB / 3.134 GB, free: 312.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=136): time 5.31e-06/8.217, allocations: 0 / 3.134 GB, free: 312.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=136): time 0.00531/8.222, allocations: 1.246 MB / 3.135 GB, free: 312 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/8.222, allocations: 457.2 kB / 3.136 GB, free: 311.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/8.225, allocations: 0.9009 MB / 3.137 GB, free: 311.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004681/8.225, allocations: 31.98 kB / 3.137 GB, free: 311 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/8.226, allocations: 0.6063 MB / 3.137 GB, free: 310.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006501/8.226, allocations: 435.4 kB / 3.138 GB, free: 310.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/8.227, allocations: 0 / 3.138 GB, free: 310.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001046/8.227, allocations: 355.1 kB / 3.138 GB, free: 309.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/8.228, allocations: 372.7 kB / 3.138 GB, free: 309.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/8.229, allocations: 0.5771 MB / 3.139 GB, free: 309.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002645/8.232, allocations: 479.8 kB / 3.139 GB, free: 309.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/8.232, allocations: 3.5 kB / 3.139 GB, free: 309.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005669/8.238, allocations: 1.25 MB / 3.141 GB, free: 308.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/8.238, allocations: 10.16 kB / 3.141 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/8.238, allocations: 4.172 kB / 3.141 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/8.24, allocations: 170.8 kB / 3.141 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/8.242, allocations: 277.1 kB / 3.141 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005063/8.248, allocations: 2.933 MB / 3.144 GB, free: 306 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/8.25, allocations: 121.6 kB / 3.144 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/8.25, allocations: 54.19 kB / 3.144 GB, free: 305.9 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.0004355/8.251, allocations: 133.3 kB / 3.144 GB, free: 305.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005219/8.256, allocations: 1.248 MB / 3.145 GB, free: 305.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006833/8.257, allocations: 141.2 kB / 3.146 GB, free: 305.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006855/8.264, allocations: 1.8 MB / 3.147 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/8.264, allocations: 17.66 kB / 3.147 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/8.264, allocations: 0 / 3.147 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.072e-05/8.264, allocations: 11.27 kB / 3.147 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/8.267, allocations: 1.324 MB / 3.149 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/8.268, allocations: 0 / 3.149 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002534/8.27, allocations: 281.7 kB / 3.149 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/8.272, allocations: 174 kB / 3.149 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/8.272, allocations: 24.31 kB / 3.149 GB, free: 304 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004252/8.276, allocations: 2.983 MB / 3.152 GB, free: 301.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/8.276, allocations: 0.875 kB / 3.152 GB, free: 301.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004964/8.281, allocations: 1.465 MB / 3.153 GB, free: 300.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/8.283, allocations: 474.8 kB / 3.154 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/8.283, allocations: 7.812 kB / 3.154 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/8.285, allocations: 106.5 kB / 3.154 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003137/8.285, allocations: 118.4 kB / 3.154 GB, free: 300.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/8.285, allocations: 58.62 kB / 3.154 GB, free: 300.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001311/8.287, allocations: 0.7057 MB / 3.155 GB, free: 299.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/8.287, allocations: 0 / 3.155 GB, free: 299.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002409/8.289, allocations: 473 kB / 3.155 GB, free: 299.8 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.007102/8.296, allocations: 3.108 MB / 3.158 GB, free: 298.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003455/8.3, allocations: 1.273 MB / 3.16 GB, free: 297.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/8.3, allocations: 0.5625 kB / 3.16 GB, free: 297.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002093/8.302, allocations: 0.8625 MB / 3.16 GB, free: 297.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/8.305, allocations: 434.2 kB / 3.161 GB, free: 297.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/8.316, allocations: 2.716 MB / 3.163 GB, free: 296.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009533/8.317, allocations: 1.318 MB / 3.165 GB, free: 295.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002819/8.32, allocations: 0.4914 MB / 3.165 GB, free: 295.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/8.322, allocations: 0.6451 MB / 3.166 GB, free: 294.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/8.322, allocations: 4 kB / 3.166 GB, free: 294.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/8.459, allocations: 38.9 MB / 3.204 GB, free: 266.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/8.46, allocations: 194.9 kB / 3.204 GB, free: 266.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.774/13.23, allocations: 0 / 3.204 GB, free: 266.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)