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.444/1.444, allocations: 252 MB / 267.3 MB, free: 10.81 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.001423/0.001424, allocations: 174.1 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 0.578 GB, free: 20.18 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.0008035/0.0008036, allocations: 102.7 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 12.91 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2421, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004423/0.2466, allocations: 4.254 MB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.2474, allocations: 0.8071 MB / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.2475, allocations: 0 / 0.9059 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.2477, allocations: 31.83 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.784e-05/0.2477, allocations: 27.77 kB / 0.9059 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.2481, allocations: 147.5 kB / 0.9061 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.2483, allocations: 167.4 kB / 0.9062 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.2484, allocations: 17.05 kB / 0.9062 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.2485, allocations: 71.77 kB / 0.9063 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.587e-05/0.2486, allocations: 83.66 kB / 0.9064 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.2487, allocations: 4 kB / 0.9064 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002877/0.249, allocations: 143.8 kB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.249, allocations: 27.89 kB / 0.9066 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.717e-05/0.2491, allocations: 85.36 kB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.2494, allocations: 223.6 kB / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2494, allocations: 0 / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2494, allocations: 0 / 0.9069 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.2494, allocations: 4 kB / 0.9069 GB, free: 57.29 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.0007564/0.2502, allocations: 474.9 kB / 0.9073 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2502, allocations: 8.031 kB / 0.9073 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.2502, allocations: 38.75 kB / 0.9074 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.2503, allocations: 12.83 kB / 0.9074 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2504, allocations: 190.2 kB / 0.9076 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.2504, allocations: 8.281 kB / 0.9076 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.2505, allocations: 12.38 kB / 0.9076 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.2508, allocations: 137.5 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2508, allocations: 0 / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.2508, allocations: 4 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.2508, allocations: 4 kB / 0.9077 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2512, allocations: 162.5 kB / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000843/0.2521, allocations: 472.4 kB / 0.9083 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.2523, allocations: 142.4 kB / 0.9085 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.2525, allocations: 80.81 kB / 0.9085 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/0.2536, allocations: 0.9529 MB / 0.9095 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2536, allocations: 38.55 kB / 0.9095 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.2536, allocations: 3.938 kB / 0.9095 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006306/0.2543, allocations: 237.4 kB / 0.9097 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.2543, allocations: 59.41 kB / 0.9098 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2544, allocations: 166.1 kB / 0.9099 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2544, allocations: 29.7 kB / 0.91 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.2545, allocations: 112.3 kB / 0.9101 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.2545, allocations: 35.45 kB / 0.9101 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.2545, allocations: 4 kB / 0.9101 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.2546, allocations: 326.8 kB / 0.9104 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.2548, allocations: 79.95 kB / 0.9105 GB, free: 53.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.2551, allocations: 128 kB / 0.9106 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.2554, allocations: 190.7 kB / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2554, allocations: 0 / 0.9108 GB, free: 52.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004926/0.2559, allocations: 269.2 kB / 0.9111 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.256, allocations: 4 kB / 0.9111 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.256, allocations: 3.938 kB / 0.9111 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.256, allocations: 8.094 kB / 0.9111 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.2563, allocations: 59.91 kB / 0.9111 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2563, allocations: 7.938 kB / 0.9111 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.2564, allocations: 35.81 kB / 0.9112 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2565, allocations: 4 kB / 0.9112 GB, free: 52.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.295e-05/0.2565, allocations: 133.7 kB / 0.9113 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.2566, allocations: 11.81 kB / 0.9113 GB, free: 52.33 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004462/0.257, allocations: 198.9 kB / 0.9115 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.257, allocations: 4 kB / 0.9115 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.2571, allocations: 0 / 0.9115 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2571, allocations: 0 / 0.9115 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2572, allocations: 221.5 kB / 0.9117 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2572, allocations: 0 / 0.9117 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.2574, allocations: 39.97 kB / 0.9118 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2574, allocations: 0 / 0.9118 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.2574, allocations: 3.938 kB / 0.9118 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2574, allocations: 8 kB / 0.9118 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2574, allocations: 0 / 0.9118 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.2578, allocations: 279.2 kB / 0.912 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.2579, allocations: 104.8 kB / 0.9121 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.076e-05/0.2579, allocations: 7.938 kB / 0.9121 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.2581, allocations: 15.98 kB / 0.9122 GB, free: 51.37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.2581, allocations: 11.98 kB / 0.9122 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2582, allocations: 4 kB / 0.9122 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.2582, allocations: 116.9 kB / 0.9123 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2582, allocations: 3.938 kB / 0.9123 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002801/0.2585, allocations: 60.36 kB / 0.9124 GB, free: 51.18 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 (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.0007708/0.2593, allocations: 0.8651 MB / 0.9132 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.2598, allocations: 196.1 kB / 0.9134 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2598, allocations: 0 / 0.9134 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.26, allocations: 83.81 kB / 0.9135 GB, free: 50.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.2603, allocations: 23.94 kB / 0.9135 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.2624, allocations: 2.047 MB / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.2626, allocations: 0.7083 MB / 0.9162 GB, free: 47.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.2627, allocations: 23.44 kB / 0.9162 GB, free: 47.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.2628, allocations: 35.42 kB / 0.9162 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2628, allocations: 0 / 0.9162 GB, free: 47.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.2766, allocations: 3.893 MB / 0.92 GB, free: 43.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.2768, allocations: 231.7 kB / 0.9203 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.3, allocations: 0 / 0.9203 GB, free: 43.11 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)