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.001829/0.001829, allocations: 108 kB / 15.6 MB, free: 132 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.001489/0.001489, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.369/1.369, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.662/1.662, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001358/0.001358, allocations: 72.2 kB / 0.6716 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2116, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.003112/0.2148, allocations: 1.583 MB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.2164, allocations: 0.956 MB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.777e-05/0.2166, allocations: 4 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.2168, allocations: 59.64 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.2174, allocations: 155.3 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.415e-05/0.2174, allocations: 11.92 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.2178, allocations: 362.3 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.746e-05/0.2179, allocations: 44.73 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.2181, allocations: 147.3 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.2183, allocations: 131.4 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.2183, allocations: 16 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.2184, allocations: 12 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.2185, allocations: 59.7 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.2186, allocations: 131.2 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.2189, allocations: 279.2 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2189, allocations: 0 / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2189, allocations: 0 / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.2189, allocations: 0 / 0.7873 GB, free: 9.445 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.001044/0.22, allocations: 0.6302 MB / 0.7879 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.22, allocations: 11.97 kB / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.749e-05/0.2201, allocations: 42.73 kB / 0.788 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.2201, allocations: 28.56 kB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004682/0.2206, allocations: 390.1 kB / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-06/0.2206, allocations: 384 / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.2206, allocations: 4.375 kB / 0.7884 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2208, allocations: 101.2 kB / 0.7885 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2208, allocations: 3.938 kB / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.2208, allocations: 4 kB / 0.7885 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2208, allocations: 0 / 0.7885 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.2209, allocations: 63.88 kB / 0.7885 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003451/0.2213, allocations: 356.1 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.2214, allocations: 102.4 kB / 0.789 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.568e-05/0.2215, allocations: 63.45 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2215, allocations: 8 kB / 0.789 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.2215, allocations: 42.44 kB / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2215, allocations: 0 / 0.7891 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003092/0.2218, allocations: 181.1 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.2219, allocations: 137 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/0.2225, allocations: 0.5171 MB / 0.7899 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2225, allocations: 25.7 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.2227, allocations: 168 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.2227, allocations: 7.812 kB / 0.7901 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.2227, allocations: 21.7 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2229, allocations: 350.8 kB / 0.7904 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.2229, allocations: 35.95 kB / 0.7905 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.223, allocations: 67.38 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2232, allocations: 103.3 kB / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2232, allocations: 0 / 0.7906 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001995/0.2234, allocations: 149.2 kB / 0.7908 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2234, allocations: 4 kB / 0.7908 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.2234, allocations: 3.984 kB / 0.7908 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.2234, allocations: 4 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.2235, allocations: 7.938 kB / 0.7908 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.2236, allocations: 11.97 kB / 0.7908 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.2237, allocations: 7.984 kB / 0.7908 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2237, allocations: 4 kB / 0.7908 GB, free: 5.512 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.0001377/0.2238, allocations: 178.4 kB / 0.791 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.2239, allocations: 39.62 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.2242, allocations: 183.7 kB / 0.7912 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2242, allocations: 0 / 0.7912 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.2242, allocations: 4 kB / 0.7912 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2243, allocations: 0 / 0.7912 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.2245, allocations: 309.5 kB / 0.7915 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2245, allocations: 8.125 kB / 0.7915 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-05/0.2246, allocations: 19.92 kB / 0.7915 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2247, allocations: 0 / 0.7915 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2247, allocations: 0 / 0.7915 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2247, allocations: 7.938 kB / 0.7915 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2247, allocations: 0 / 0.7915 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.2249, allocations: 191.2 kB / 0.7917 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.225, allocations: 140.6 kB / 0.7918 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.2251, allocations: 4 kB / 0.7918 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.2252, allocations: 11.98 kB / 0.7919 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.2253, allocations: 11.92 kB / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.2253, allocations: 0 / 0.7919 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004062/0.2257, allocations: 395 kB / 0.7922 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2257, allocations: 0 / 0.7922 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002384/0.2259, allocations: 40 kB / 0.7923 GB, free: 3.887 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.0004926/0.2264, allocations: 0.7355 MB / 0.793 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.2266, allocations: 91.8 kB / 0.7931 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2266, allocations: 3.938 kB / 0.7931 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.564e-05/0.2267, allocations: 47.89 kB / 0.7931 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.2271, allocations: 72.5 kB / 0.7932 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.2305, allocations: 3.186 MB / 0.7963 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.2309, allocations: 0.8221 MB / 0.7971 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.231, allocations: 54.27 kB / 0.7972 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.2311, allocations: 79.41 kB / 0.7973 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2311, allocations: 0 / 0.7973 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02435/0.2555, allocations: 6.587 MB / 0.8037 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.697, allocations: 8.625 kB / 0.8037 GB, free: 8.211 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)