Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 198.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.203/0.203, allocations: 22.35 MB / 312.7 MB, free: 12.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 380.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2457, allocations: 54.94 MB / 435.9 MB, free: 39.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.002324/0.2481, allocations: 1.597 MB / 437.5 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006137/0.2487, allocations: 469.7 kB / 437.9 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.2488, allocations: 0 / 437.9 MB, free: 38.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.2489, allocations: 25.62 kB / 438 MB, free: 38.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.2491, allocations: 80.83 kB / 438 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.2492, allocations: 29.94 kB / 438.1 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.2495, allocations: 422.1 kB / 438.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.2497, allocations: 147.5 kB / 438.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.2499, allocations: 158.8 kB / 438.8 MB, free: 37.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.2501, allocations: 191.7 kB / 439 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.2502, allocations: 29.5 kB / 439 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-05/0.2503, allocations: 28.44 kB / 439 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2504, allocations: 143.6 kB / 439.2 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.2505, allocations: 166.3 kB / 439.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.2508, allocations: 382.6 kB / 439.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2508, allocations: 0 / 439.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2508, allocations: 0 / 439.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.2508, allocations: 0 / 439.7 MB, free: 37.5 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001092/0.2519, allocations: 0.6803 MB / 440.4 MB, free: 37.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2519, allocations: 15.38 kB / 440.4 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.252, allocations: 57.86 kB / 440.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.2521, allocations: 30.03 kB / 440.5 MB, free: 36.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.2523, allocations: 279.9 kB / 440.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.2524, allocations: 17.09 kB / 440.8 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.2524, allocations: 26.62 kB / 440.8 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.2529, allocations: 391.8 kB / 441.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2529, allocations: 0 / 441.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.2529, allocations: 6.625 kB / 441.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.253, allocations: 8 kB / 441.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.2533, allocations: 245.8 kB / 441.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.2548, allocations: 1.765 MB / 443.2 MB, free: 35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.2553, allocations: 442.2 kB / 443.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.2555, allocations: 154 kB / 443.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.2556, allocations: 6.844 kB / 443.8 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.2556, allocations: 41.39 kB / 443.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.2556, allocations: 0 / 443.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006905/0.2563, allocations: 435.9 kB / 444.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2563, allocations: 160.9 kB / 444.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.2565, allocations: 210.6 kB / 444.6 MB, free: 34.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.2565, allocations: 29.7 kB / 444.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.2566, allocations: 156.6 kB / 444.8 MB, free: 33.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.2567, allocations: 110 kB / 444.9 MB, free: 33.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.2568, allocations: 75.45 kB / 445 MB, free: 33.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.725e-05/0.2568, allocations: 336.5 kB / 445.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.257, allocations: 164.3 kB / 445.5 MB, free: 33.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.2573, allocations: 286.1 kB / 445.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.2578, allocations: 469.4 kB / 446.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2578, allocations: 0 / 446.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005978/0.2584, allocations: 0.4951 MB / 446.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2584, allocations: 8.125 kB / 446.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.2584, allocations: 11.53 kB / 446.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2584, allocations: 5.594 kB / 446.7 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.259, allocations: 150.2 kB / 446.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.259, allocations: 11.75 kB / 446.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.2592, allocations: 46.3 kB / 446.9 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.2592, allocations: 12.72 kB / 446.9 MB, free: 32.81 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (50): * Single equations (assignments): 50 * 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 0.0001228/0.2593, allocations: 182.8 kB / 447.1 MB, free: 32.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.2595, allocations: 24.88 kB / 447.2 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.018e-05/0.2595, allocations: 45.34 kB / 447.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2595, allocations: 2.625 kB / 447.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2596, allocations: 6.531 kB / 447.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2596, allocations: 3.938 kB / 447.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.2601, allocations: 401.5 kB / 447.6 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2601, allocations: 0 / 447.6 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.2607, allocations: 127.9 kB / 447.7 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2607, allocations: 2.75 kB / 447.7 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.2608, allocations: 19.36 kB / 447.7 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.2608, allocations: 3.938 kB / 447.7 MB, free: 32.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2608, allocations: 11 kB / 447.8 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.2614, allocations: 0.7871 MB / 448.5 MB, free: 31.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.2614, allocations: 104.1 kB / 448.6 MB, free: 31.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.2615, allocations: 14.66 kB / 448.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.2618, allocations: 20.86 kB / 448.7 MB, free: 31.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.2619, allocations: 22.55 kB / 448.7 MB, free: 31.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2619, allocations: 11.88 kB / 448.7 MB, free: 31.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.953e-05/0.262, allocations: 145.7 kB / 448.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.262, allocations: 0 / 448.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005116/0.2625, allocations: 100.6 kB / 449 MB, free: 31.54 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (wall.T[1,1],wall.T[1,2],wall.T[1,3],wall.T[2,1],wall.T[2,2],wall.T[2,3],wall.T[3,1],wall.T[3,2],wall.T[3,3],wall.T[4,1],wall.T[4,2],wall.T[4,3],wall.T[5,1],wall.T[5,2],wall.T[5,3]) * 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 (25): * Single equations (assignments): 25 * 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.0007634/0.2633, allocations: 1.353 MB / 450.3 MB, free: 30.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004735/0.2638, allocations: 386.4 kB / 450.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2638, allocations: 0 / 450.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.2639, allocations: 142.2 kB / 450.8 MB, free: 30.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007314/0.2647, allocations: 98.2 kB / 450.9 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.269, allocations: 4.549 MB / 455.5 MB, free: 27.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2693, allocations: 0.7888 MB / 456.3 MB, free: 26.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003405/0.2696, allocations: 153.7 kB / 456.4 MB, free: 26.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.2698, allocations: 80.31 kB / 456.5 MB, free: 26.39 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2698, allocations: 3.938 kB / 456.5 MB, free: 26.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.2967, allocations: 7.238 MB / 463.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.06, allocations: 17.97 kB / 463.7 MB, free: 25.76 MB / 350.1 MB (rm -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessComponents.Thermal.Liquid.TubeWall_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessComponents_Thermal_Liquid_TubeWall.fmu > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1)