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.0007147/0.0007146, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004617/0.004617, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 1.794/1.794, allocations: 22.35 MB / 313.8 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003108, allocations: 8 kB / 382.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3105, allocations: 55.98 MB / 438.7 MB, free: 39.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.001242/0.3118, allocations: 1.319 MB / 440 MB, free: 38.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005618/0.3124, allocations: 450.7 kB / 440.4 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.3124, allocations: 3.938 kB / 440.5 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.3125, allocations: 21.47 kB / 440.5 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.3127, allocations: 75.95 kB / 440.5 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.3128, allocations: 19.5 kB / 440.6 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.3132, allocations: 0.5865 MB / 441.2 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.3134, allocations: 121.2 kB / 441.3 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.3136, allocations: 138.1 kB / 441.4 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.3138, allocations: 194.3 kB / 441.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.961e-05/0.3138, allocations: 17.12 kB / 441.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.213e-05/0.3139, allocations: 16.47 kB / 441.6 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.011e-05/0.314, allocations: 125.8 kB / 441.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.3141, allocations: 168.8 kB / 441.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.3143, allocations: 361.4 kB / 442.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3144, allocations: 3.938 kB / 442.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3144, allocations: 0 / 442.3 MB, free: 37.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3144, allocations: 0 / 442.3 MB, free: 37.52 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.0009797/0.3154, allocations: 0.648 MB / 442.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3154, allocations: 13.06 kB / 442.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.3155, allocations: 64.73 kB / 443 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.3155, allocations: 30.75 kB / 443 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3158, allocations: 280 kB / 443.3 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3158, allocations: 20.5 kB / 443.3 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.483e-05/0.3159, allocations: 27.2 kB / 443.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.3163, allocations: 384.6 kB / 443.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3163, allocations: 0 / 443.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/0.3164, allocations: 15.31 kB / 443.7 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3164, allocations: 3.75 kB / 443.7 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.3167, allocations: 245 kB / 444 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/0.3182, allocations: 1.771 MB / 445.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.3186, allocations: 452.5 kB / 446.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.3188, allocations: 141.6 kB / 446.3 MB, free: 34.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.3188, allocations: 6.969 kB / 446.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.3189, allocations: 40.88 kB / 446.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.3189, allocations: 4 kB / 446.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.000685/0.3196, allocations: 432.2 kB / 446.8 MB, free: 34.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.3196, allocations: 168.2 kB / 447 MB, free: 34.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.3198, allocations: 197 kB / 447.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3198, allocations: 29.7 kB / 447.2 MB, free: 34.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.3199, allocations: 162.9 kB / 447.3 MB, free: 34.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.841e-05/0.32, allocations: 110.8 kB / 447.5 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.32, allocations: 39.91 kB / 447.5 MB, free: 33.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.3201, allocations: 338.7 kB / 447.8 MB, free: 33.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.3203, allocations: 165.8 kB / 448 MB, free: 33.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3205, allocations: 280.3 kB / 448.3 MB, free: 33.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.321, allocations: 476.5 kB / 448.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.321, allocations: 0 / 448.7 MB, free: 33.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006338/0.3217, allocations: 0.5 MB / 449.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3217, allocations: 8.312 kB / 449.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3217, allocations: 2.625 kB / 449.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3217, allocations: 5.25 kB / 449.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005047/0.3222, allocations: 145.2 kB / 449.4 MB, free: 32.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3222, allocations: 17.59 kB / 449.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.3225, allocations: 46.05 kB / 449.4 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.3225, allocations: 14.97 kB / 449.5 MB, free: 32.86 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.0001451/0.3226, allocations: 179.8 kB / 449.6 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.3228, allocations: 19.25 kB / 449.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3229, allocations: 42.77 kB / 449.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3229, allocations: 3.812 kB / 449.7 MB, free: 32.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.3229, allocations: 3.938 kB / 449.7 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3229, allocations: 2.094 kB / 449.7 MB, free: 32.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.3235, allocations: 397.2 kB / 450.1 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3235, allocations: 2.781 kB / 450.1 MB, free: 32.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.3241, allocations: 134 kB / 450.2 MB, free: 32.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3241, allocations: 0 / 450.2 MB, free: 32.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3241, allocations: 19.47 kB / 450.2 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3241, allocations: 2.656 kB / 450.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3241, allocations: 7.875 kB / 450.3 MB, free: 32.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.3248, allocations: 0.7959 MB / 451.1 MB, free: 31.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.3248, allocations: 104.1 kB / 451.2 MB, free: 31.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.3249, allocations: 18.53 kB / 451.2 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.3252, allocations: 22.19 kB / 451.2 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.3252, allocations: 22.42 kB / 451.2 MB, free: 31.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3253, allocations: 8.703 kB / 451.2 MB, free: 31.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.906e-05/0.3253, allocations: 150.2 kB / 451.4 MB, free: 31.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3254, allocations: 0 / 451.4 MB, free: 31.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004964/0.3259, allocations: 104 kB / 451.5 MB, free: 31.58 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.0007233/0.3266, allocations: 1.348 MB / 452.8 MB, free: 30.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004314/0.327, allocations: 365.5 kB / 453.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.327, allocations: 4.062 kB / 453.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3272, allocations: 142.8 kB / 453.3 MB, free: 30.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007704/0.328, allocations: 87.75 kB / 453.4 MB, free: 30.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004272/0.3323, allocations: 4.834 MB / 458.2 MB, free: 27.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3325, allocations: 0.7903 MB / 459 MB, free: 26.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003174/0.3329, allocations: 154.2 kB / 459.2 MB, free: 26.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.333, allocations: 84.28 kB / 459.3 MB, free: 26.27 MB / 350.1 MB Notification: Performance of SimCode: time 8.01e-07/0.333, allocations: 4 kB / 459.3 MB, free: 26.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2445/0.5775, allocations: 6.8 MB / 466.1 MB, free: 25.88 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.5777, allocations: 182.3 kB / 466.2 MB, free: 25.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/2.914, allocations: 0 / 466.2 MB, free: 25.62 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/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)