Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.655/1.655, allocations: 288.4 MB / 303.6 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 176.5 kB / 372.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 0.631 GB, free: 9.773 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007989/0.0007985, allocations: 98.8 kB / 0.7444 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 13.66 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2125, allocations: 115.3 MB / 0.9802 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004265/0.2168, allocations: 4.105 MB / 0.9842 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.2176, allocations: 0.7608 MB / 0.9849 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.2177, allocations: 4 kB / 0.985 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.2178, allocations: 19.89 kB / 0.985 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.313e-05/0.2179, allocations: 31.7 kB / 0.985 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.2183, allocations: 135.5 kB / 0.9851 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.2185, allocations: 155.4 kB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2186, allocations: 13.12 kB / 0.9853 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.2188, allocations: 71.75 kB / 0.9854 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.2189, allocations: 67.73 kB / 0.9854 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2189, allocations: 11.98 kB / 0.9854 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.2192, allocations: 135.8 kB / 0.9856 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.2192, allocations: 27.91 kB / 0.9856 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.134e-05/0.2193, allocations: 89.41 kB / 0.9857 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.2195, allocations: 167.8 kB / 0.9858 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.2195, allocations: 0 / 0.9858 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2195, allocations: 0 / 0.9858 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2195, allocations: 0 / 0.9858 GB, free: 21.41 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007184/0.2202, allocations: 468 kB / 0.9863 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2203, allocations: 12.03 kB / 0.9863 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.273e-05/0.2203, allocations: 46.67 kB / 0.9863 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.2204, allocations: 16.75 kB / 0.9864 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.2205, allocations: 184.2 kB / 0.9865 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2205, allocations: 16.12 kB / 0.9865 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.2205, allocations: 12 kB / 0.9866 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.2208, allocations: 125.6 kB / 0.9867 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2208, allocations: 0 / 0.9867 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2209, allocations: 0 / 0.9867 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2209, allocations: 4 kB / 0.9867 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003764/0.2213, allocations: 167.8 kB / 0.9868 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/0.2221, allocations: 476.3 kB / 0.9873 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.2224, allocations: 134.5 kB / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.2226, allocations: 80.81 kB / 0.9875 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.2237, allocations: 0.9609 MB / 0.9884 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.2237, allocations: 38.5 kB / 0.9885 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.2237, allocations: 0 / 0.9885 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006395/0.2244, allocations: 249.2 kB / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.2244, allocations: 55.41 kB / 0.9888 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.2245, allocations: 157.2 kB / 0.9889 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2245, allocations: 29.7 kB / 0.9889 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.2246, allocations: 108.4 kB / 0.989 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2246, allocations: 43.36 kB / 0.9891 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/0.2246, allocations: 8 kB / 0.9891 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.852e-05/0.2247, allocations: 326.8 kB / 0.9894 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.2249, allocations: 79.94 kB / 0.9895 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.2251, allocations: 121.1 kB / 0.9896 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.2255, allocations: 195.4 kB / 0.9898 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2255, allocations: 4 kB / 0.9898 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004877/0.226, allocations: 261.3 kB / 0.99 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.226, allocations: 8 kB / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.226, allocations: 0 / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2261, allocations: 0 / 0.99 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.2263, allocations: 63.95 kB / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2263, allocations: 0 / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.2265, allocations: 43.77 kB / 0.9902 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.2265, allocations: 11.94 kB / 0.9902 GB, free: 16.6 MB / 0.6198 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 (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/0.2266, allocations: 117.8 kB / 0.9903 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.2266, allocations: 15.84 kB / 0.9903 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.2271, allocations: 202.8 kB / 0.9905 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2271, allocations: 0 / 0.9905 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2271, allocations: 4 kB / 0.9905 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2271, allocations: 3.984 kB / 0.9905 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.2273, allocations: 225.4 kB / 0.9907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2273, allocations: 0 / 0.9907 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.2274, allocations: 35.91 kB / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2275, allocations: 0 / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.739e-06/0.2275, allocations: 4 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2275, allocations: 0 / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2275, allocations: 4 kB / 0.9907 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.2279, allocations: 283.2 kB / 0.991 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.2279, allocations: 96.94 kB / 0.9911 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.2279, allocations: 8 kB / 0.9911 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.2281, allocations: 23.97 kB / 0.9911 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2281, allocations: 7.984 kB / 0.9911 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.2281, allocations: 4 kB / 0.9912 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.2282, allocations: 121.6 kB / 0.9913 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2282, allocations: 0 / 0.9913 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002906/0.2285, allocations: 56.06 kB / 0.9913 GB, free: 15.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007246/0.2292, allocations: 0.8806 MB / 0.9922 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004627/0.2297, allocations: 191.7 kB / 0.9924 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2297, allocations: 0 / 0.9924 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/0.2299, allocations: 84.08 kB / 0.9924 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.2303, allocations: 19.98 kB / 0.9925 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.2318, allocations: 1.015 MB / 0.9935 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.2319, allocations: 0.7122 MB / 0.9941 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.232, allocations: 22.19 kB / 0.9942 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.2321, allocations: 35.42 kB / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.2321, allocations: 0 / 0.9942 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3746/0.6067, allocations: 4.003 MB / 0.9981 GB, free: 8.453 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.607, allocations: 218.4 kB / 0.9983 GB, free: 8.207 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/2.812, allocations: 0 / 0.9983 GB, free: 8.207 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)