Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008695, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.655/1.655, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005341/0.0005341, allocations: 20.31 kB / 0.6737 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2416, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004739/0.2463, allocations: 4.093 MB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000974/0.2474, allocations: 0.7724 MB / 0.792 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.2475, allocations: 4 kB / 0.792 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.2477, allocations: 19.84 kB / 0.7921 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.2478, allocations: 31.75 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005617/0.2484, allocations: 127.6 kB / 0.7922 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.2485, allocations: 155.4 kB / 0.7924 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.627e-05/0.2486, allocations: 13.11 kB / 0.7924 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.2489, allocations: 75.69 kB / 0.7925 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.249, allocations: 71.73 kB / 0.7925 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.249, allocations: 4 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000345/0.2494, allocations: 119.8 kB / 0.7926 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.2494, allocations: 27.89 kB / 0.7927 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.2495, allocations: 45.64 kB / 0.7927 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.2498, allocations: 159.9 kB / 0.7929 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.2498, allocations: 0 / 0.7929 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2498, allocations: 0 / 0.7929 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2498, allocations: 0 / 0.7929 GB, free: 6.18 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008587/0.2507, allocations: 470.8 kB / 0.7933 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2507, allocations: 8.031 kB / 0.7933 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.2508, allocations: 19.77 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.2509, allocations: 190.8 kB / 0.7935 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.251, allocations: 8 kB / 0.7935 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.251, allocations: 12 kB / 0.7935 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.2513, allocations: 121.6 kB / 0.7937 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2513, allocations: 3.938 kB / 0.7937 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2514, allocations: 4 kB / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2514, allocations: 4 kB / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.2518, allocations: 163.9 kB / 0.7938 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.2527, allocations: 472.4 kB / 0.7943 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.253, allocations: 130.5 kB / 0.7944 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.2532, allocations: 84.81 kB / 0.7945 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/0.2545, allocations: 0.9606 MB / 0.7954 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.2546, allocations: 38.55 kB / 0.7955 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 2.985e-06/0.2546, allocations: 0 / 0.7955 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006536/0.2552, allocations: 245.3 kB / 0.7957 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.2553, allocations: 55.41 kB / 0.7957 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.2554, allocations: 167.2 kB / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2555, allocations: 29.7 kB / 0.7959 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.2556, allocations: 108.4 kB / 0.796 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.2556, allocations: 35.45 kB / 0.7961 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.2556, allocations: 12 kB / 0.7961 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2557, allocations: 322.8 kB / 0.7964 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.2559, allocations: 83.94 kB / 0.7965 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.2562, allocations: 122.2 kB / 0.7966 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.2564, allocations: 91.95 kB / 0.7967 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2564, allocations: 3.953 kB / 0.7967 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005058/0.2569, allocations: 267.6 kB / 0.7969 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2569, allocations: 18.73 kB / 0.7969 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.257, allocations: 0 / 0.7969 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.257, allocations: 4 kB / 0.7969 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.2572, allocations: 60 kB / 0.797 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2572, allocations: 0 / 0.797 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.2574, allocations: 35.77 kB / 0.797 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.2574, allocations: 15.98 kB / 0.7971 GB, free: 1.523 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 (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 8.974e-05/0.2575, allocations: 121.8 kB / 0.7972 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.2576, allocations: 23.77 kB / 0.7972 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.258, allocations: 195.4 kB / 0.7974 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.258, allocations: 0 / 0.7974 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.258, allocations: 0 / 0.7974 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.258, allocations: 0 / 0.7974 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.2583, allocations: 221.4 kB / 0.7976 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2583, allocations: 0 / 0.7976 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.2584, allocations: 43.92 kB / 0.7976 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.2584, allocations: 7.938 kB / 0.7976 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.2585, allocations: 3.938 kB / 0.7976 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2585, allocations: 0 / 0.7976 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2585, allocations: 0 / 0.7976 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.2589, allocations: 275.4 kB / 0.7979 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.2589, allocations: 96.91 kB / 0.798 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.259, allocations: 11.95 kB / 0.798 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.2591, allocations: 19.98 kB / 0.798 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2592, allocations: 11.98 kB / 0.798 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2592, allocations: 0 / 0.798 GB, free: 420 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.2593, allocations: 112 kB / 0.7981 GB, free: 308 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2593, allocations: 0 / 0.7981 GB, free: 308 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003286/0.2596, allocations: 68.3 kB / 0.7982 GB, free: 240 kB / 0.6075 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.0002861/0.2599, allocations: 163.1 kB / 0.7984 GB, free: 64 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.2604, allocations: 187.7 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2604, allocations: 0 / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.2605, allocations: 80.08 kB / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.2609, allocations: 23.98 kB / 0.7986 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.2615, allocations: 353.6 kB / 0.799 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2617, allocations: 0.7087 MB / 0.7997 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.2619, allocations: 25 kB / 0.7997 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.962e-05/0.2619, allocations: 15.44 kB / 0.7997 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2619, allocations: 0 / 0.7997 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.005387/0.2673, allocations: 2.473 MB / 0.8021 GB, free: 12.19 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) Environment - environmentSimulation: