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.001127/0.001127, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001143/0.001143, allocations: 197 kB / 16.14 MB, free: 6.703 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.12/1.12, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1517/0.1517, allocations: 22.35 MB / 312.3 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 67.89 kB / 380.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.19, allocations: 54.94 MB / 435.2 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.001911/0.1919, allocations: 1.648 MB / 436.8 MB, free: 38.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000516/0.1924, allocations: 463 kB / 437.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.224e-05/0.1925, allocations: 4 kB / 437.3 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.1926, allocations: 20.31 kB / 437.3 MB, free: 38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1928, allocations: 77.22 kB / 437.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001149/0.1929, allocations: 22.03 kB / 437.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.1932, allocations: 0.5796 MB / 438 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1934, allocations: 122.9 kB / 438.1 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.1936, allocations: 140.4 kB / 438.2 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1938, allocations: 204 kB / 438.4 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.1938, allocations: 23.5 kB / 438.4 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.326e-05/0.1939, allocations: 18.31 kB / 438.5 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.194, allocations: 137 kB / 438.6 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1941, allocations: 159.1 kB / 438.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1943, allocations: 370.1 kB / 439.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1943, allocations: 0 / 439.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.02e-07/0.1943, allocations: 0 / 439.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1943, allocations: 0 / 439.1 MB, free: 37.4 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.00096/0.1953, allocations: 0.6828 MB / 439.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.1953, allocations: 16.5 kB / 439.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.886e-05/0.1954, allocations: 61.11 kB / 439.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.473e-05/0.1954, allocations: 31.09 kB / 439.9 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1957, allocations: 284.8 kB / 440.2 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1957, allocations: 20.28 kB / 440.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1957, allocations: 32.81 kB / 440.2 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.1961, allocations: 378.3 kB / 440.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1962, allocations: 0 / 440.6 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.1962, allocations: 10.69 kB / 440.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1962, allocations: 5.531 kB / 440.6 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.1965, allocations: 249.2 kB / 440.9 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.1978, allocations: 1.759 MB / 442.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.1982, allocations: 442.2 kB / 443 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.1984, allocations: 149.5 kB / 443.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.1984, allocations: 2.938 kB / 443.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.1984, allocations: 45.47 kB / 443.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.162e-06/0.1984, allocations: 0 / 443.2 MB, free: 34.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0005865/0.199, allocations: 428.3 kB / 443.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.1991, allocations: 165.7 kB / 443.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1992, allocations: 200.7 kB / 444 MB, free: 34.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1992, allocations: 33.7 kB / 444.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1993, allocations: 156.9 kB / 444.2 MB, free: 33.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.716e-05/0.1993, allocations: 117.2 kB / 444.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.1994, allocations: 76.7 kB / 444.4 MB, free: 33.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.187e-05/0.1995, allocations: 337.7 kB / 444.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1997, allocations: 166 kB / 444.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.1999, allocations: 276.4 kB / 445.2 MB, free: 33.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/0.2003, allocations: 478.5 kB / 445.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2003, allocations: 0 / 445.6 MB, free: 32.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005357/0.2008, allocations: 0.4967 MB / 446.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2008, allocations: 6.312 kB / 446.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2008, allocations: 2.844 kB / 446.1 MB, free: 32.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.2009, allocations: 9.484 kB / 446.1 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.2013, allocations: 158.4 kB / 446.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.2013, allocations: 10.19 kB / 446.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.2015, allocations: 44.97 kB / 446.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.2016, allocations: 17.25 kB / 446.4 MB, free: 32.7 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.000102/0.2017, allocations: 180.3 kB / 446.5 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.2018, allocations: 22.69 kB / 446.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.2018, allocations: 40.2 kB / 446.6 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.2019, allocations: 9.719 kB / 446.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2019, allocations: 3.938 kB / 446.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2019, allocations: 2.562 kB / 446.6 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.2024, allocations: 395.2 kB / 447 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2024, allocations: 2.625 kB / 447 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005349/0.2029, allocations: 127.4 kB / 447.1 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2029, allocations: 2.625 kB / 447.1 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.2029, allocations: 20.3 kB / 447.2 MB, free: 32.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.203, allocations: 3.938 kB / 447.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.203, allocations: 6.562 kB / 447.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.2034, allocations: 0.7956 MB / 448 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.2035, allocations: 99.09 kB / 448.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.2035, allocations: 18.88 kB / 448.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.2038, allocations: 22.66 kB / 448.1 MB, free: 31.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.2039, allocations: 23.08 kB / 448.1 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2039, allocations: 9.297 kB / 448.1 MB, free: 31.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.596e-05/0.204, allocations: 148.4 kB / 448.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.204, allocations: 3.062 kB / 448.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004708/0.2044, allocations: 105.4 kB / 448.4 MB, free: 31.43 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.0005876/0.205, allocations: 1.351 MB / 449.7 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.2054, allocations: 363.6 kB / 450.1 MB, free: 30.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2054, allocations: 0 / 450.1 MB, free: 30.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.2056, allocations: 148.2 kB / 450.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.2062, allocations: 92.56 kB / 450.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.2096, allocations: 4.618 MB / 454.9 MB, free: 26.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.2098, allocations: 0.799 MB / 455.7 MB, free: 26.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.21, allocations: 154.1 kB / 455.9 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.2101, allocations: 80.81 kB / 456 MB, free: 26.2 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2101, allocations: 0 / 456 MB, free: 26.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.2247, allocations: 6.893 MB / 462.9 MB, free: 25.73 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001273/0.2249, allocations: 185 kB / 463 MB, free: 25.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/1.802, allocations: 0 / 463 MB, free: 25.47 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)