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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.51/1.51, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001025/0.001025, allocations: 166.9 kB / 326.5 MB, free: 2.676 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.737/1.737, allocations: 205 MB / 0.5766 GB, free: 21 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.0007366/0.0007367, allocations: 85.8 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 11.53 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2364, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005495/0.242, allocations: 4.294 MB / 0.9009 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009027/0.243, allocations: 0.8265 MB / 0.9017 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.434e-05/0.2431, allocations: 4 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.2433, allocations: 23.84 kB / 0.9018 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.189e-05/0.2433, allocations: 31.75 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.2438, allocations: 151.5 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.244, allocations: 167.4 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2441, allocations: 21.05 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.2443, allocations: 67.75 kB / 0.9022 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.388e-05/0.2444, allocations: 75.67 kB / 0.9023 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.18e-05/0.2444, allocations: 8 kB / 0.9023 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000341/0.2448, allocations: 143.7 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.2448, allocations: 27.91 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.11e-05/0.2449, allocations: 59.72 kB / 0.9025 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.2451, allocations: 167.6 kB / 0.9026 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2451, allocations: 0 / 0.9026 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2452, allocations: 0 / 0.9026 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.2452, allocations: 0 / 0.9026 GB, free: 62.08 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.0009603/0.2461, allocations: 463 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.2462, allocations: 12.03 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.2463, allocations: 8.844 kB / 0.9031 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.2465, allocations: 188.1 kB / 0.9033 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2465, allocations: 16.3 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.2465, allocations: 16.38 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.2469, allocations: 132 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2469, allocations: 0 / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2469, allocations: 0 / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.247, allocations: 4 kB / 0.9034 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/0.2474, allocations: 167.9 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009042/0.2483, allocations: 468.5 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.2486, allocations: 142.5 kB / 0.9042 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.2488, allocations: 80.81 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.2499, allocations: 0.9644 MB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2499, allocations: 38.56 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.25, allocations: 0 / 0.9052 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006348/0.2506, allocations: 245.3 kB / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.2507, allocations: 59.34 kB / 0.9055 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.2508, allocations: 166 kB / 0.9057 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2508, allocations: 25.7 kB / 0.9057 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.2509, allocations: 112.4 kB / 0.9058 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2509, allocations: 39.39 kB / 0.9059 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.2509, allocations: 29.7 kB / 0.9059 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.251, allocations: 326.8 kB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.2512, allocations: 83.94 kB / 0.9063 GB, free: 58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.2515, allocations: 120 kB / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.2519, allocations: 191.3 kB / 0.9066 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2519, allocations: 0 / 0.9066 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005059/0.2524, allocations: 272.5 kB / 0.9068 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2524, allocations: 4 kB / 0.9068 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2524, allocations: 3.938 kB / 0.9069 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2525, allocations: 7.938 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.2527, allocations: 55.95 kB / 0.9069 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.2527, allocations: 7.984 kB / 0.9069 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.2529, allocations: 35.92 kB / 0.907 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.2529, allocations: 8 kB / 0.907 GB, free: 57.29 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 9.663e-05/0.253, allocations: 129.8 kB / 0.9071 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/0.2531, allocations: 11.81 kB / 0.9071 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.2536, allocations: 211.1 kB / 0.9073 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2536, allocations: 4 kB / 0.9073 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2536, allocations: 0 / 0.9073 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2536, allocations: 4 kB / 0.9073 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.2538, allocations: 213.5 kB / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2538, allocations: 0 / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.2539, allocations: 39.97 kB / 0.9075 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.254, allocations: 0 / 0.9075 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.254, allocations: 3.938 kB / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.254, allocations: 0 / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.254, allocations: 0 / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.2544, allocations: 287.2 kB / 0.9078 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.2545, allocations: 93 kB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.2545, allocations: 11.92 kB / 0.9079 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2546, allocations: 15.98 kB / 0.9079 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.2547, allocations: 11.98 kB / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.2547, allocations: 4 kB / 0.908 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.95e-05/0.2548, allocations: 116.9 kB / 0.9081 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2548, allocations: 0 / 0.9081 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003063/0.2551, allocations: 68.22 kB / 0.9081 GB, free: 55.98 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.0003032/0.2554, allocations: 163.4 kB / 0.9083 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.2559, allocations: 191.9 kB / 0.9085 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2559, allocations: 3.938 kB / 0.9085 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.2561, allocations: 71.95 kB / 0.9085 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.2564, allocations: 23.98 kB / 0.9086 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.2569, allocations: 308.7 kB / 0.9089 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.257, allocations: 0.7048 MB / 0.9095 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.2571, allocations: 23.42 kB / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2571, allocations: 0 / 0.9096 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.00383/0.2609, allocations: 2.527 MB / 0.912 GB, free: 51.93 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)