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.001174/0.001174, 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.001248/0.001248, allocations: 187.6 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.367/1.367, 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.706/1.706, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.0014/0.0014, allocations: 68.62 kB / 0.6717 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2246, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002858/0.2275, allocations: 1.591 MB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.229, allocations: 0.9521 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2292, allocations: 7.938 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.2294, allocations: 55.72 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.2299, allocations: 155.2 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.026e-05/0.23, allocations: 11.98 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004121/0.2304, allocations: 378.3 kB / 0.7867 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.361e-05/0.2305, allocations: 40.75 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.2307, allocations: 139.3 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.231, allocations: 139.3 kB / 0.787 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.093e-05/0.231, allocations: 16 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.309e-05/0.2311, allocations: 16 kB / 0.787 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.2312, allocations: 47.77 kB / 0.7871 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2313, allocations: 131.2 kB / 0.7872 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.2316, allocations: 291.2 kB / 0.7875 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2316, allocations: 0 / 0.7875 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2316, allocations: 4 kB / 0.7875 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2316, allocations: 0 / 0.7875 GB, free: 9.293 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.001109/0.2327, allocations: 0.6263 MB / 0.7881 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2328, allocations: 12.03 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.7e-05/0.2328, allocations: 30.75 kB / 0.7881 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/0.2329, allocations: 28.56 kB / 0.7881 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.2335, allocations: 398.1 kB / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.2335, allocations: 384 / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.2335, allocations: 384 / 0.7885 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2337, allocations: 117.1 kB / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2337, allocations: 0 / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.2337, allocations: 0 / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.2337, allocations: 0 / 0.7886 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.831e-05/0.2338, allocations: 63.88 kB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.2342, allocations: 352.1 kB / 0.789 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.2344, allocations: 110.4 kB / 0.7891 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.781e-05/0.2345, allocations: 55.47 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2345, allocations: 3.938 kB / 0.7892 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.2345, allocations: 46.48 kB / 0.7892 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.645e-06/0.2346, allocations: 3.984 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003628/0.2349, allocations: 185.1 kB / 0.7894 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.235, allocations: 128.5 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006175/0.2356, allocations: 0.5137 MB / 0.79 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2357, allocations: 29.7 kB / 0.7901 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2358, allocations: 168.1 kB / 0.7902 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.2358, allocations: 11.81 kB / 0.7902 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.2359, allocations: 25.64 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.236, allocations: 346.8 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.2361, allocations: 35.95 kB / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.835e-05/0.2362, allocations: 59.41 kB / 0.7907 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.2363, allocations: 103.3 kB / 0.7908 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2363, allocations: 0 / 0.7908 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002129/0.2365, allocations: 149 kB / 0.7909 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2366, allocations: 12.12 kB / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2366, allocations: 0 / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2366, allocations: 0 / 0.7909 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.2367, allocations: 11.98 kB / 0.791 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.2367, allocations: 4 kB / 0.791 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2369, allocations: 7.984 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.2369, allocations: 11.98 kB / 0.791 GB, free: 5.367 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.0001534/0.2371, allocations: 174.4 kB / 0.7911 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.2371, allocations: 35.56 kB / 0.7912 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.2374, allocations: 191.6 kB / 0.7914 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2375, allocations: 4 kB / 0.7914 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2375, allocations: 4 kB / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2375, allocations: 0 / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.2378, allocations: 301.5 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2378, allocations: 0 / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.2379, allocations: 19.88 kB / 0.7917 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2379, allocations: 8.125 kB / 0.7917 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2379, allocations: 3.984 kB / 0.7917 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2379, allocations: 7.938 kB / 0.7917 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2379, allocations: 0 / 0.7917 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.2381, allocations: 195.1 kB / 0.7919 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.2383, allocations: 148.6 kB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.2383, allocations: 0 / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.2385, allocations: 11.98 kB / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.2385, allocations: 0 / 0.792 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2386, allocations: 8 kB / 0.792 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004511/0.239, allocations: 395 kB / 0.7924 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.239, allocations: 0 / 0.7924 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002539/0.2393, allocations: 36 kB / 0.7924 GB, free: 3.742 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.0005159/0.2398, allocations: 0.7394 MB / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.24, allocations: 84.05 kB / 0.7932 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.24, allocations: 8.062 kB / 0.7933 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.531e-05/0.2401, allocations: 43.91 kB / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.2405, allocations: 72.17 kB / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.2442, allocations: 3.181 MB / 0.7965 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.2446, allocations: 0.8182 MB / 0.7973 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.2448, allocations: 54.27 kB / 0.7973 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.2449, allocations: 79.41 kB / 0.7974 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of SimCode: time 8.92e-07/0.2449, allocations: 0 / 0.7974 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.2705, allocations: 6.58 MB / 0.8038 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/7.967, allocations: 1.75 kB / 0.8038 GB, free: 8.105 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.fmu > Buildings_8_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1)