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.643/1.643, allocations: 249.3 MB / 261.8 MB, free: 5.863 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.001232/0.001233, allocations: 178.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.801/1.801, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.001047/0.001047, allocations: 94.45 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.59e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2698, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.635/6.905, allocations: 2.19 GB / 3.081 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/6.905, allocations: 88.8 kB / 3.082 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2161/7.121, allocations: 89.91 MB / 3.169 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.865e-06/7.122, allocations: 0 / 3.169 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001936/7.122, allocations: 43.94 kB / 3.169 GB, free: 88.8 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.004868/7.127, allocations: 1.629 MB / 3.171 GB, free: 87.11 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/7.127, allocations: 12.03 kB / 3.171 GB, free: 87.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000373/7.127, allocations: 194.4 kB / 3.171 GB, free: 86.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/7.131, allocations: 365.4 kB / 3.172 GB, free: 86.54 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/7.133, allocations: 1.011 MB / 3.173 GB, free: 85.47 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/7.134, allocations: 102.6 kB / 3.173 GB, free: 85.37 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/7.134, allocations: 128 kB / 3.173 GB, free: 85.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/7.137, allocations: 1.43 MB / 3.174 GB, free: 83.72 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/7.137, allocations: 7.938 kB / 3.174 GB, free: 83.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/7.137, allocations: 59.95 kB / 3.174 GB, free: 83.65 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/7.137, allocations: 32 kB / 3.174 GB, free: 83.62 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/7.141, allocations: 1.938 MB / 3.176 GB, free: 81.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007496/7.149, allocations: 4.475 MB / 3.181 GB, free: 77.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/7.151, allocations: 1.351 MB / 3.182 GB, free: 75.74 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/7.151, allocations: 0.4932 MB / 3.182 GB, free: 75.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/7.151, allocations: 61.17 kB / 3.182 GB, free: 75.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/7.153, allocations: 0.7496 MB / 3.183 GB, free: 74.41 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=136): time 3.126e-06/7.153, allocations: 4 kB / 3.183 GB, free: 74.41 MB / 0.8698 GB Notification: Performance of matching and sorting (n=136): time 0.00284/7.155, allocations: 1.306 MB / 3.184 GB, free: 73.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/7.155, allocations: 454.1 kB / 3.185 GB, free: 72.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/7.157, allocations: 1.038 MB / 3.186 GB, free: 71.49 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001988/7.157, allocations: 53.7 kB / 3.186 GB, free: 71.43 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/7.158, allocations: 0.5991 MB / 3.186 GB, free: 70.82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/7.158, allocations: 453.5 kB / 3.187 GB, free: 70.38 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/7.158, allocations: 20 kB / 3.187 GB, free: 70.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/7.158, allocations: 349.9 kB / 3.187 GB, free: 70.01 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/7.159, allocations: 394.5 kB / 3.188 GB, free: 69.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007126/7.16, allocations: 0.6075 MB / 3.188 GB, free: 68.95 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/7.16, allocations: 482.2 kB / 3.189 GB, free: 68.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/7.16, allocations: 7.938 kB / 3.189 GB, free: 68.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002889/7.163, allocations: 1.329 MB / 3.19 GB, free: 67.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/7.163, allocations: 8 kB / 3.19 GB, free: 67.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/7.163, allocations: 0 / 3.19 GB, free: 67.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/7.164, allocations: 169.8 kB / 3.19 GB, free: 66.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/7.165, allocations: 271.6 kB / 3.19 GB, free: 66.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/7.168, allocations: 3.065 MB / 3.193 GB, free: 63.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/7.17, allocations: 166.8 kB / 3.194 GB, free: 63.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/7.17, allocations: 55.97 kB / 3.194 GB, free: 63.11 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.0003595/7.17, allocations: 184.6 kB / 3.194 GB, free: 62.93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/7.171, allocations: 146.2 kB / 3.194 GB, free: 62.78 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/7.175, allocations: 1.906 MB / 3.196 GB, free: 60.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/7.175, allocations: 16 kB / 3.196 GB, free: 60.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/7.175, allocations: 0 / 3.196 GB, free: 60.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/7.175, allocations: 11.97 kB / 3.196 GB, free: 60.83 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/7.177, allocations: 1.509 MB / 3.197 GB, free: 59.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/7.177, allocations: 0 / 3.197 GB, free: 59.27 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/7.178, allocations: 279.6 kB / 3.198 GB, free: 59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008648/7.179, allocations: 173.5 kB / 3.198 GB, free: 58.82 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.895e-05/7.179, allocations: 43.97 kB / 3.198 GB, free: 58.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/7.182, allocations: 3.108 MB / 3.201 GB, free: 55.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/7.182, allocations: 0 / 3.201 GB, free: 55.39 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002955/7.185, allocations: 1.558 MB / 3.202 GB, free: 53.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007351/7.185, allocations: 478.5 kB / 3.203 GB, free: 53.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/7.186, allocations: 36 kB / 3.203 GB, free: 53.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009661/7.187, allocations: 135.9 kB / 3.203 GB, free: 53.14 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/7.187, allocations: 117.3 kB / 3.203 GB, free: 53.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/7.187, allocations: 59.97 kB / 3.203 GB, free: 52.97 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009219/7.188, allocations: 0.817 MB / 3.204 GB, free: 52.15 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.11e-07/7.188, allocations: 0 / 3.204 GB, free: 52.15 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001379/7.189, allocations: 0.5339 MB / 3.204 GB, free: 51.61 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.004286/7.193, allocations: 3.133 MB / 3.207 GB, free: 48.53 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002138/7.196, allocations: 1.344 MB / 3.209 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/7.196, allocations: 3.938 kB / 3.209 GB, free: 47.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/7.197, allocations: 0.9158 MB / 3.21 GB, free: 46.21 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/7.199, allocations: 467.4 kB / 3.21 GB, free: 45.76 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/7.206, allocations: 2.842 MB / 3.213 GB, free: 42.87 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/7.206, allocations: 1.316 MB / 3.214 GB, free: 41.52 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00159/7.208, allocations: 0.5111 MB / 3.215 GB, free: 41.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007784/7.209, allocations: 0.6593 MB / 3.215 GB, free: 40.35 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/7.209, allocations: 0 / 3.215 GB, free: 40.35 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5093/7.718, allocations: 48.23 MB / 3.262 GB, free: 253.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/7.718, allocations: 235.7 kB / 3.263 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.431/11.15, allocations: 0 / 3.263 GB, free: 253.3 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)