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.421/1.421, allocations: 252 MB / 267.6 MB, free: 10.91 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.001043/0.001043, allocations: 184 kB / 327.3 MB, free: 2.207 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.845/1.845, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0009489/0.0009487, allocations: 100.4 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003554, allocations: 8.875 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2441, allocations: 106.4 MB / 0.9008 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004593/0.2488, allocations: 4.104 MB / 0.9049 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.2496, allocations: 0.7607 MB / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.2497, allocations: 0 / 0.9056 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.2498, allocations: 19.89 kB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.2499, allocations: 27.77 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.2503, allocations: 135.4 kB / 0.9058 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.2504, allocations: 163.4 kB / 0.9059 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.394e-05/0.2505, allocations: 13.11 kB / 0.9059 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.2507, allocations: 71.75 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.567e-05/0.2507, allocations: 67.73 kB / 0.9061 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.2508, allocations: 12 kB / 0.9061 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.251, allocations: 119.8 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.2511, allocations: 23.91 kB / 0.9062 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.2511, allocations: 45.64 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.2514, allocations: 155.9 kB / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2514, allocations: 0 / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.715e-06/0.2514, allocations: 0 / 0.9064 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2514, allocations: 0 / 0.9064 GB, free: 58.15 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.00082/0.2522, allocations: 474.7 kB / 0.9069 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2523, allocations: 8.031 kB / 0.9069 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.2523, allocations: 15.84 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.2524, allocations: 178.9 kB / 0.9071 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.2525, allocations: 8 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.2525, allocations: 12 kB / 0.9071 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.2528, allocations: 125.6 kB / 0.9072 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2528, allocations: 0 / 0.9072 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2529, allocations: 11.95 kB / 0.9072 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.2529, allocations: 4 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.2533, allocations: 167.8 kB / 0.9074 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.2542, allocations: 468.4 kB / 0.9078 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.2545, allocations: 130.5 kB / 0.9079 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2547, allocations: 88.77 kB / 0.908 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.2558, allocations: 0.9608 MB / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.2558, allocations: 30.56 kB / 0.909 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.2558, allocations: 4 kB / 0.909 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.000631/0.2565, allocations: 245.3 kB / 0.9092 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.2565, allocations: 51.41 kB / 0.9093 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2566, allocations: 158.2 kB / 0.9094 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2567, allocations: 33.7 kB / 0.9095 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.2567, allocations: 108.3 kB / 0.9096 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.2567, allocations: 43.44 kB / 0.9096 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.2568, allocations: 4 kB / 0.9096 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.963e-05/0.2568, allocations: 326.8 kB / 0.9099 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.257, allocations: 87.88 kB / 0.91 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.2573, allocations: 120 kB / 0.9101 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.2575, allocations: 99.41 kB / 0.9102 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2575, allocations: 0 / 0.9102 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004867/0.258, allocations: 265.1 kB / 0.9105 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.258, allocations: 7.938 kB / 0.9105 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.258, allocations: 4 kB / 0.9105 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.258, allocations: 4.094 kB / 0.9105 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.2583, allocations: 63.89 kB / 0.9105 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2583, allocations: 0 / 0.9105 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2585, allocations: 35.73 kB / 0.9106 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2585, allocations: 12 kB / 0.9106 GB, free: 53.5 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 8.29e-05/0.2586, allocations: 137.7 kB / 0.9107 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.2586, allocations: 7.906 kB / 0.9107 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.2591, allocations: 194.9 kB / 0.9109 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2591, allocations: 4 kB / 0.9109 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2591, allocations: 0 / 0.9109 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2591, allocations: 0 / 0.9109 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.2593, allocations: 213.5 kB / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2594, allocations: 0 / 0.9111 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.2595, allocations: 39.97 kB / 0.9112 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.2595, allocations: 7.938 kB / 0.9112 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2595, allocations: 4 kB / 0.9112 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.2596, allocations: 4 kB / 0.9112 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2596, allocations: 0 / 0.9112 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.26, allocations: 279.7 kB / 0.9114 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.26, allocations: 96.94 kB / 0.9115 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.26, allocations: 7.984 kB / 0.9115 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.2602, allocations: 19.98 kB / 0.9116 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.2602, allocations: 7.984 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.2603, allocations: 8 kB / 0.9116 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.344e-05/0.2603, allocations: 112.9 kB / 0.9117 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2603, allocations: 0 / 0.9117 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002859/0.2606, allocations: 56.12 kB / 0.9117 GB, free: 52.22 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.0002662/0.2609, allocations: 167.1 kB / 0.9119 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004684/0.2614, allocations: 191.9 kB / 0.9121 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2614, allocations: 3.938 kB / 0.9121 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.2616, allocations: 84.06 kB / 0.9122 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.2619, allocations: 25.22 kB / 0.9122 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004527/0.2624, allocations: 391.4 kB / 0.9126 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.2625, allocations: 0.7009 MB / 0.9133 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.2626, allocations: 19.44 kB / 0.9133 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2626, allocations: 0 / 0.9133 GB, free: 50.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.003893/0.2665, allocations: 2.533 MB / 0.9157 GB, free: 48.08 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)