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.0008901/0.0008901, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001055/0.001055, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.2 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2531/0.2531, allocations: 22.36 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003054, allocations: 8 kB / 382.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2804, allocations: 55.98 MB / 438 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.001241/0.2817, allocations: 1.287 MB / 439.3 MB, free: 38.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005385/0.2822, allocations: 443.6 kB / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.2823, allocations: 6.594 kB / 439.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.2824, allocations: 17 kB / 439.8 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2825, allocations: 71.61 kB / 439.8 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.2827, allocations: 19.58 kB / 439.9 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003537/0.283, allocations: 490.4 kB / 440.3 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.2832, allocations: 102.5 kB / 440.4 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.2834, allocations: 134.2 kB / 440.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.2836, allocations: 199 kB / 440.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.2836, allocations: 14.5 kB / 440.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.2e-05/0.2837, allocations: 22.81 kB / 440.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.2838, allocations: 136.2 kB / 440.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.2838, allocations: 69.8 kB / 441 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.284, allocations: 280.7 kB / 441.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.284, allocations: 3.938 kB / 441.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.2841, allocations: 0 / 441.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2841, allocations: 3.938 kB / 441.3 MB, free: 37.61 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.0009189/0.285, allocations: 0.6485 MB / 441.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.285, allocations: 11.66 kB / 441.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.2851, allocations: 61.92 kB / 442 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.2852, allocations: 31.28 kB / 442 MB, free: 37.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.2854, allocations: 281.9 kB / 442.3 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.2854, allocations: 17.44 kB / 442.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.2855, allocations: 26.12 kB / 442.4 MB, free: 36.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.286, allocations: 384.5 kB / 442.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.286, allocations: 2.656 kB / 442.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.286, allocations: 10.62 kB / 442.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.286, allocations: 3.469 kB / 442.8 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.2863, allocations: 245 kB / 443 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2878, allocations: 1.775 MB / 444.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.2883, allocations: 441.2 kB / 445.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.2885, allocations: 146.4 kB / 445.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.2885, allocations: 10.72 kB / 445.3 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.2885, allocations: 37.28 kB / 445.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.2885, allocations: 0 / 445.4 MB, free: 34.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006639/0.2892, allocations: 432.2 kB / 445.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.2893, allocations: 163.6 kB / 446 MB, free: 34.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2894, allocations: 193.5 kB / 446.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2895, allocations: 36.08 kB / 446.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.2895, allocations: 154.2 kB / 446.3 MB, free: 34.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.2896, allocations: 114.2 kB / 446.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.2896, allocations: 10.97 kB / 446.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.177e-05/0.2897, allocations: 347.6 kB / 446.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.2899, allocations: 162.8 kB / 447 MB, free: 33.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.2901, allocations: 273.6 kB / 447.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.2904, allocations: 231.6 kB / 447.5 MB, free: 33.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2904, allocations: 0 / 447.5 MB, free: 33.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005861/0.291, allocations: 0.4903 MB / 447.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.291, allocations: 5.531 kB / 448 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.291, allocations: 3 kB / 448 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.2911, allocations: 8.344 kB / 448 MB, free: 33.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.2916, allocations: 151.5 kB / 448.1 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2916, allocations: 7.766 kB / 448.1 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.2918, allocations: 43.41 kB / 448.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.2918, allocations: 20.84 kB / 448.2 MB, free: 33.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.2919, allocations: 175.8 kB / 448.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.2921, allocations: 22.3 kB / 448.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.2922, allocations: 41.62 kB / 448.4 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2922, allocations: 9.344 kB / 448.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2922, allocations: 0 / 448.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.2922, allocations: 2.656 kB / 448.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.2928, allocations: 408.5 kB / 448.8 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2928, allocations: 0 / 448.8 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.2933, allocations: 128.3 kB / 449 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2933, allocations: 7.656 kB / 449 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.2934, allocations: 12.53 kB / 449 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2934, allocations: 3.406 kB / 449 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2934, allocations: 0 / 449 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.2939, allocations: 0.8088 MB / 449.8 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.294, allocations: 103.8 kB / 449.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/0.2941, allocations: 18.67 kB / 449.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.2943, allocations: 22.88 kB / 449.9 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.2944, allocations: 18.02 kB / 449.9 MB, free: 32.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2944, allocations: 8.656 kB / 450 MB, free: 32.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.2945, allocations: 145.7 kB / 450.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2945, allocations: 0 / 450.1 MB, free: 31.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005149/0.295, allocations: 107.7 kB / 450.2 MB, free: 31.89 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 (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.0007229/0.2958, allocations: 1.347 MB / 451.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.2962, allocations: 362.8 kB / 451.9 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2962, allocations: 2.625 kB / 451.9 MB, free: 30.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.2964, allocations: 144.7 kB / 452 MB, free: 30.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.2971, allocations: 88.08 kB / 452.1 MB, free: 30.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.3004, allocations: 3.058 MB / 455.2 MB, free: 28.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.3006, allocations: 0.7812 MB / 456 MB, free: 28.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.301, allocations: 154.7 kB / 456.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.3011, allocations: 92.77 kB / 456.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3011, allocations: 0 / 456.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.3202, allocations: 6.65 MB / 462.9 MB, free: 27.67 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.3204, allocations: 181.8 kB / 463 MB, free: 27.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.9/2.22, allocations: 0 / 463 MB, free: 27.42 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Liquid_TubeWall_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Liquid_TubeWall.fmu > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1) Environment - environmentSimulation: