Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection",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.00145/0.00145, allocations: 109.4 kB / 15.69 MB, free: 128 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.002003/0.002003, allocations: 183.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.549 GB, free: 12.72 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 72.48 kB / 0.6718 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2372, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003265/0.2405, allocations: 1.583 MB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.242, allocations: 0.9521 MB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.742e-05/0.2422, allocations: 4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.2424, allocations: 63.64 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.2429, allocations: 143.3 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.798e-05/0.243, allocations: 11.97 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000417/0.2434, allocations: 378.2 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.122e-05/0.2435, allocations: 40.75 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.2437, allocations: 151.2 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.2439, allocations: 127.4 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2439, allocations: 16 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.746e-05/0.244, allocations: 16 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.228e-05/0.2441, allocations: 59.69 kB / 0.7871 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.2442, allocations: 131.2 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.2445, allocations: 283.2 kB / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2445, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2445, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2445, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001091/0.2456, allocations: 0.6302 MB / 0.7881 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.2457, allocations: 8.031 kB / 0.7881 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.2457, allocations: 38.75 kB / 0.7881 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.2458, allocations: 28.56 kB / 0.7881 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.2463, allocations: 402.1 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.2463, allocations: 384 / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2463, allocations: 384 / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.2465, allocations: 101.2 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2465, allocations: 0 / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2465, allocations: 8 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.2466, allocations: 0 / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.2467, allocations: 67.86 kB / 0.7887 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.2471, allocations: 348.2 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.2472, allocations: 110.3 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.703e-05/0.2473, allocations: 63.45 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.2473, allocations: 7.984 kB / 0.7892 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.2474, allocations: 38.5 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2474, allocations: 0 / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003468/0.2477, allocations: 185.1 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.2478, allocations: 137 kB / 0.7895 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.2484, allocations: 0.5132 MB / 0.79 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.2484, allocations: 25.7 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2485, allocations: 164.1 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.2486, allocations: 11.81 kB / 0.7902 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.2486, allocations: 25.64 kB / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2488, allocations: 342.8 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.96e-05/0.2488, allocations: 43.95 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.2489, allocations: 59.39 kB / 0.7907 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.2491, allocations: 107.3 kB / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2491, allocations: 0 / 0.7908 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002028/0.2493, allocations: 145.1 kB / 0.7909 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2493, allocations: 15.92 kB / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2493, allocations: 0 / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2494, allocations: 0 / 0.7909 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.2495, allocations: 11.98 kB / 0.791 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2495, allocations: 3.938 kB / 0.791 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.2496, allocations: 11.98 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.2497, allocations: 0 / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.2498, allocations: 185.8 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.2499, allocations: 35.56 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.2502, allocations: 183.7 kB / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2502, allocations: 0 / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2502, allocations: 0 / 0.7914 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2502, allocations: 4 kB / 0.7914 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.2505, allocations: 309.5 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2505, allocations: 128 / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.2506, allocations: 23.92 kB / 0.7917 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2506, allocations: 4 kB / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2506, allocations: 0 / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2507, allocations: 0 / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2507, allocations: 4 kB / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.2509, allocations: 191.1 kB / 0.7919 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.251, allocations: 140.6 kB / 0.792 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.2511, allocations: 8 kB / 0.792 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2513, allocations: 7.984 kB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2513, allocations: 7.984 kB / 0.792 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.2513, allocations: 4 kB / 0.792 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004255/0.2517, allocations: 395 kB / 0.7924 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2517, allocations: 0 / 0.7924 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002543/0.252, allocations: 40 kB / 0.7924 GB, free: 3.723 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005137/0.2525, allocations: 0.7355 MB / 0.7932 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.2527, allocations: 91.84 kB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2527, allocations: 0 / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.756e-05/0.2528, allocations: 51.89 kB / 0.7933 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.2532, allocations: 72.48 kB / 0.7934 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.2569, allocations: 3.174 MB / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.2573, allocations: 0.8143 MB / 0.7973 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000144/0.2575, allocations: 54.27 kB / 0.7973 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.2576, allocations: 79.41 kB / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.2576, allocations: 0 / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.2848, allocations: 6.593 MB / 0.8038 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.846/8.131, allocations: 1 kB / 0.8038 GB, free: 8.086 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)