Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.552/1.552, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 178.6 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.929/1.929, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0008189/0.0008192, allocations: 88.33 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 11.28 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2606, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004034/0.2647, allocations: 4.112 MB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.2655, allocations: 0.753 MB / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.2656, allocations: 0 / 0.9051 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001503/0.2657, allocations: 23.83 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.2658, allocations: 31.77 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.2662, allocations: 127.5 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.2664, allocations: 159.4 kB / 0.9054 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2665, allocations: 13.12 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.2666, allocations: 71.75 kB / 0.9055 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.2667, allocations: 71.67 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.2668, allocations: 11.98 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.267, allocations: 119.8 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.2671, allocations: 27.89 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.538e-05/0.2671, allocations: 45.64 kB / 0.9057 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2673, allocations: 156 kB / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2674, allocations: 0 / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2674, allocations: 0 / 0.9059 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2674, allocations: 0 / 0.9059 GB, free: 58.07 MB / 0.6042 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.0008135/0.2682, allocations: 474.7 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2682, allocations: 8.031 kB / 0.9063 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.2683, allocations: 38.56 kB / 0.9064 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.2683, allocations: 11.91 kB / 0.9064 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2685, allocations: 184.9 kB / 0.9066 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.2685, allocations: 8 kB / 0.9066 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2685, allocations: 8 kB / 0.9066 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.2688, allocations: 129.6 kB / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2688, allocations: 0 / 0.9067 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2689, allocations: 7.953 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.2689, allocations: 4 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003983/0.2693, allocations: 162.8 kB / 0.9069 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.2702, allocations: 472.4 kB / 0.9073 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.2705, allocations: 142.4 kB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.2706, allocations: 84.81 kB / 0.9075 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.2718, allocations: 0.9568 MB / 0.9085 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2718, allocations: 34.5 kB / 0.9085 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.2718, allocations: 0 / 0.9085 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006382/0.2725, allocations: 245.3 kB / 0.9087 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2725, allocations: 59.41 kB / 0.9088 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2726, allocations: 154.2 kB / 0.9089 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2726, allocations: 33.69 kB / 0.909 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.2727, allocations: 108.3 kB / 0.9091 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2727, allocations: 47.36 kB / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.808e-06/0.2727, allocations: 0 / 0.9091 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.2728, allocations: 330.8 kB / 0.9094 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.273, allocations: 83.94 kB / 0.9095 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.2732, allocations: 120 kB / 0.9096 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002066/0.2735, allocations: 95.89 kB / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2735, allocations: 4 kB / 0.9097 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004793/0.274, allocations: 268.7 kB / 0.91 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.274, allocations: 4 kB / 0.91 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.274, allocations: 3.984 kB / 0.91 GB, free: 53.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.274, allocations: 7.938 kB / 0.91 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.2743, allocations: 55.97 kB / 0.9101 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.2743, allocations: 12.03 kB / 0.9101 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.2745, allocations: 35.72 kB / 0.9101 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.2745, allocations: 8 kB / 0.9101 GB, free: 53.37 MB / 0.6042 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 9.036e-05/0.2746, allocations: 129.7 kB / 0.9102 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.2746, allocations: 7.906 kB / 0.9102 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004611/0.2751, allocations: 202.8 kB / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2751, allocations: 0 / 0.9104 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2751, allocations: 4 kB / 0.9104 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2751, allocations: 0 / 0.9104 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.2753, allocations: 217.5 kB / 0.9106 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2753, allocations: 0 / 0.9106 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.2755, allocations: 39.97 kB / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2755, allocations: 0 / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2755, allocations: 0 / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2755, allocations: 4 kB / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2755, allocations: 0 / 0.9107 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.2759, allocations: 283.7 kB / 0.911 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.276, allocations: 104.9 kB / 0.9111 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.276, allocations: 0 / 0.9111 GB, free: 52.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2761, allocations: 15.98 kB / 0.9111 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.2762, allocations: 15.98 kB / 0.9111 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.2762, allocations: 4 kB / 0.9111 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.335e-05/0.2763, allocations: 116.9 kB / 0.9112 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2763, allocations: 4 kB / 0.9112 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000287/0.2766, allocations: 56.36 kB / 0.9113 GB, free: 52.09 MB / 0.6042 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.0007877/0.2774, allocations: 0.8799 MB / 0.9121 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.2778, allocations: 191.8 kB / 0.9123 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2778, allocations: 0 / 0.9123 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.278, allocations: 84.02 kB / 0.9124 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2784, allocations: 26.56 kB / 0.9124 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.28, allocations: 1.012 MB / 0.9134 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.2801, allocations: 0.7123 MB / 0.9141 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.2803, allocations: 17.08 kB / 0.9141 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.2803, allocations: 35.42 kB / 0.9141 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2803, allocations: 0 / 0.9141 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.295, allocations: 4.016 MB / 0.9181 GB, free: 45.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.2952, allocations: 218.7 kB / 0.9183 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.161, allocations: 0 / 0.9183 GB, free: 44.98 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)