Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009978/0.0009977, allocations: 188.6 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009443/0.0009444, allocations: 97.52 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.041e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.797/6.021, allocations: 2.19 GB / 3.075 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/6.021, allocations: 86.83 kB / 3.075 GB, free: 174.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1895/6.211, allocations: 88.74 MB / 3.162 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.066e-06/6.211, allocations: 4 kB / 3.162 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001274/6.211, allocations: 43.88 kB / 3.162 GB, free: 93.07 MB / 0.8698 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.002645/6.213, allocations: 1.629 MB / 3.164 GB, free: 91.38 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/6.213, allocations: 12.03 kB / 3.164 GB, free: 91.37 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/6.215, allocations: 369.4 kB / 3.164 GB, free: 91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/6.217, allocations: 1.011 MB / 3.165 GB, free: 89.94 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.574e-05/6.217, allocations: 44 kB / 3.165 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/6.217, allocations: 76 kB / 3.165 GB, free: 89.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002255/6.219, allocations: 1.863 MB / 3.167 GB, free: 87.95 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/6.221, allocations: 1.253 MB / 3.168 GB, free: 86.61 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/6.221, allocations: 7.953 kB / 3.168 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/6.221, allocations: 3.984 kB / 3.168 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/6.221, allocations: 36 kB / 3.168 GB, free: 86.56 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005784/6.227, allocations: 4.213 MB / 3.172 GB, free: 82.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/6.229, allocations: 1.261 MB / 3.173 GB, free: 80.98 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/6.229, allocations: 472.9 kB / 3.174 GB, free: 80.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/6.229, allocations: 57.19 kB / 3.174 GB, free: 80.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009554/6.23, allocations: 0.7086 MB / 3.175 GB, free: 79.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 3.416e-06/6.23, allocations: 0 / 3.175 GB, free: 79.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.002713/6.233, allocations: 1.242 MB / 3.176 GB, free: 78.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/6.233, allocations: 458.1 kB / 3.176 GB, free: 77.92 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/6.234, allocations: 0.9142 MB / 3.177 GB, free: 76.99 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/6.234, allocations: 29.7 kB / 3.177 GB, free: 76.96 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/6.235, allocations: 0.6062 MB / 3.178 GB, free: 76.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/6.235, allocations: 425.5 kB / 3.178 GB, free: 75.92 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/6.235, allocations: 3.938 kB / 3.178 GB, free: 75.92 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/6.235, allocations: 353.9 kB / 3.179 GB, free: 75.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/6.235, allocations: 362.5 kB / 3.179 GB, free: 75.21 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/6.236, allocations: 0.5814 MB / 3.179 GB, free: 74.56 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/6.237, allocations: 482.5 kB / 3.18 GB, free: 74.09 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/6.237, allocations: 0 / 3.18 GB, free: 74.09 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002449/6.239, allocations: 1.259 MB / 3.181 GB, free: 72.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/6.239, allocations: 7.984 kB / 3.181 GB, free: 72.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/6.239, allocations: 4 kB / 3.181 GB, free: 72.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000989/6.24, allocations: 165.8 kB / 3.181 GB, free: 72.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009955/6.241, allocations: 271.6 kB / 3.182 GB, free: 72.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/6.244, allocations: 2.942 MB / 3.184 GB, free: 69.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/6.245, allocations: 123 kB / 3.185 GB, free: 69.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.329e-05/6.245, allocations: 51.97 kB / 3.185 GB, free: 69.01 MB / 0.8698 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.0002229/6.246, allocations: 128.8 kB / 3.185 GB, free: 68.88 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002441/6.248, allocations: 1.254 MB / 3.186 GB, free: 67.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/6.248, allocations: 138.3 kB / 3.186 GB, free: 67.47 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/6.252, allocations: 1.809 MB / 3.188 GB, free: 65.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/6.252, allocations: 16 kB / 3.188 GB, free: 65.63 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/6.252, allocations: 0 / 3.188 GB, free: 65.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/6.252, allocations: 7.969 kB / 3.188 GB, free: 65.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/6.253, allocations: 1.308 MB / 3.189 GB, free: 64.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/6.253, allocations: 4 kB / 3.189 GB, free: 64.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009953/6.254, allocations: 279.6 kB / 3.189 GB, free: 64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00085/6.255, allocations: 161.5 kB / 3.19 GB, free: 63.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/6.255, allocations: 35.97 kB / 3.19 GB, free: 63.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/6.258, allocations: 2.989 MB / 3.193 GB, free: 60.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/6.258, allocations: 0 / 3.193 GB, free: 60.57 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/6.26, allocations: 1.477 MB / 3.194 GB, free: 59.06 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/6.261, allocations: 474.6 kB / 3.194 GB, free: 58.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/6.261, allocations: 4 kB / 3.194 GB, free: 58.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/6.262, allocations: 103.9 kB / 3.195 GB, free: 58.47 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/6.262, allocations: 113.4 kB / 3.195 GB, free: 58.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/6.262, allocations: 63.97 kB / 3.195 GB, free: 58.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007558/6.263, allocations: 0.7036 MB / 3.195 GB, free: 57.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/6.263, allocations: 0 / 3.195 GB, free: 57.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001335/6.264, allocations: 478.6 kB / 3.196 GB, free: 57.12 MB / 0.8698 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.004106/6.268, allocations: 3.106 MB / 3.199 GB, free: 54.02 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001809/6.27, allocations: 1.274 MB / 3.2 GB, free: 52.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/6.27, allocations: 4 kB / 3.2 GB, free: 52.73 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/6.271, allocations: 0.8527 MB / 3.201 GB, free: 51.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/6.273, allocations: 439.9 kB / 3.201 GB, free: 51.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005949/6.279, allocations: 2.707 MB / 3.204 GB, free: 48.67 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005743/6.28, allocations: 1.32 MB / 3.205 GB, free: 47.32 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001453/6.281, allocations: 0.4989 MB / 3.206 GB, free: 46.82 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007638/6.282, allocations: 0.6476 MB / 3.206 GB, free: 46.17 MB / 0.8698 GB Notification: Performance of SimCode: time 1.303e-06/6.282, allocations: 0 / 3.206 GB, free: 46.17 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/6.34, allocations: 38.92 MB / 3.244 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/6.34, allocations: 199.6 kB / 3.245 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/9.41, allocations: 4 kB / 3.245 GB, free: 7.188 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)