Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.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.Devel_test_models.Test_expansion_vessel_isoT_001,fileNamePrefix="AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_expansion_vessel_isoT_001,fileNamePrefix="AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001",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.001035/0.001035, 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.0009927/0.0009927, allocations: 193.8 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1792/0.1792, allocations: 22.36 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 63.91 kB / 380.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2157, allocations: 54.94 MB / 435.9 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_expansion_vessel_isoT_001): time 0.003301/0.219, allocations: 3.327 MB / 439.2 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2204, allocations: 0.9659 MB / 440.2 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.2206, allocations: 5.344 kB / 440.2 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.2209, allocations: 104.2 kB / 440.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004644/0.2213, allocations: 267.3 kB / 440.5 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.2217, allocations: 182.5 kB / 440.7 MB, free: 36.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006619/0.2224, allocations: 1.226 MB / 441.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006213/0.223, allocations: 0.8707 MB / 442.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.2233, allocations: 495.8 kB / 443.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.2238, allocations: 0.5627 MB / 443.9 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.224, allocations: 133.4 kB / 444 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.2241, allocations: 132.1 kB / 444.1 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.2244, allocations: 391.3 kB / 444.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.2247, allocations: 0.533 MB / 445 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007433/0.2255, allocations: 1.438 MB / 446.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2255, allocations: 0 / 446.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2255, allocations: 2.719 kB / 446.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.2255, allocations: 0 / 446.5 MB, free: 33.7 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002103/0.2276, allocations: 1.29 MB / 447.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2277, allocations: 10.31 kB / 447.8 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.2278, allocations: 116.8 kB / 447.9 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.2279, allocations: 95.64 kB / 448 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.2285, allocations: 0.5615 MB / 448.5 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.2286, allocations: 54.66 kB / 448.6 MB, free: 32.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.2287, allocations: 69.97 kB / 448.7 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2298, allocations: 0.8959 MB / 449.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2299, allocations: 0 / 449.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.23, allocations: 29.72 kB / 449.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.23, allocations: 16.59 kB / 449.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.231, allocations: 0.7718 MB / 450.4 MB, free: 31.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.2344, allocations: 3.681 MB / 454.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.2368, allocations: 1.034 MB / 455.1 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.2374, allocations: 445.7 kB / 455.5 MB, free: 28.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.048e-05/0.2374, allocations: 10.83 kB / 455.5 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.2374, allocations: 41.39 kB / 455.6 MB, free: 28.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.653e-06/0.2374, allocations: 0 / 455.6 MB, free: 28.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.003923/0.2414, allocations: 2.342 MB / 457.9 MB, free: 27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.2414, allocations: 58.69 kB / 458 MB, free: 26.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.2418, allocations: 424.7 kB / 458.4 MB, free: 26.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.2418, allocations: 36.17 kB / 458.4 MB, free: 26.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.242, allocations: 312.7 kB / 458.7 MB, free: 26.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.2421, allocations: 234.6 kB / 459 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.2423, allocations: 119.1 kB / 459.1 MB, free: 26.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.2424, allocations: 376.4 kB / 459.4 MB, free: 25.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.243, allocations: 431.5 kB / 459.9 MB, free: 25.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.2437, allocations: 496.5 kB / 460.3 MB, free: 25.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/0.2501, allocations: 2.309 MB / 462.7 MB, free: 24.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2501, allocations: 0 / 462.7 MB, free: 24.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002273/0.2524, allocations: 1.357 MB / 464 MB, free: 24.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2524, allocations: 9.75 kB / 464 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2524, allocations: 0 / 464 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.2534, allocations: 359.3 kB / 464.4 MB, free: 23.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.2544, allocations: 197 kB / 464.6 MB, free: 23.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007597/0.262, allocations: 14.3 MB / 478.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.2625, allocations: 73.03 kB / 478.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.2626, allocations: 19.39 kB / 479 MB, free: 10.23 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: ev.lfrac:VARIABLE(start = ev.lfracstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * 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 initialization (73): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003734/0.2629, allocations: 275.8 kB / 479.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2631, allocations: 56.8 kB / 479.3 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.2651, allocations: 1.213 MB / 480.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.2652, allocations: 6.594 kB / 480.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2652, allocations: 4.078 kB / 480.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.2652, allocations: 2.625 kB / 480.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009752/0.2662, allocations: 0.9755 MB / 481.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2662, allocations: 1.375 kB / 481.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.2676, allocations: 194 kB / 481.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007721/0.2684, allocations: 326.9 kB / 482 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/0.2684, allocations: 33.86 kB / 482 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007607/0.276, allocations: 13.85 MB / 495.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2761, allocations: 0.6562 kB / 495.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/0.2789, allocations: 1.7 MB / 497.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.279, allocations: 140.2 kB / 497.7 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.2791, allocations: 29.53 kB / 497.7 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.2796, allocations: 28.83 kB / 497.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.2797, allocations: 60.39 kB / 497.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.2798, allocations: 21.75 kB / 497.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003377/0.2801, allocations: 304.5 kB / 498.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2801, allocations: 1.125 kB / 498.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008606/0.281, allocations: 296.8 kB / 498.4 MB, free: 10.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (tube01.fluidStream.T[1],tube01.fluidStream.T[2],tube01.fluidStream.T[3],tube01.fluidStream.T[4],tube01.fluidStream.T[5],tube01.wall.wall.T[1,1],tube01.wall.wall.T[1,2],tube01.wall.wall.T[1,3],tube01.wall.wall.T[2,1],tube01.wall.wall.T[2,2],tube01.wall.wall.T[2,3],tube01.wall.wall.T[3,1],tube01.wall.wall.T[3,2],tube01.wall.wall.T[3,3],tube01.wall.wall.T[4,1],tube01.wall.wall.T[4,2],tube01.wall.wall.T[4,3],tube01.wall.wall.T[5,1],tube01.wall.wall.T[5,2],tube01.wall.wall.T[5,3],ev.lfrac) * 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 (50): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002994/0.284, allocations: 2.27 MB / 0.489 GB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.2871, allocations: 2.122 MB / 0.491 GB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2871, allocations: 0 / 0.491 GB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.2888, allocations: 1.421 MB / 0.4924 GB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.2897, allocations: 182.5 kB / 0.4926 GB, free: 5.621 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.302, allocations: 8.953 MB / 0.5013 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.3026, allocations: 1.001 MB / 0.5023 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004417/0.303, allocations: 172.6 kB / 0.5025 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.3034, allocations: 251.4 kB / 0.5027 GB, free: 11.1 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3034, allocations: 0 / 0.5027 GB, free: 11.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.051/5.354, allocations: 20.17 MB / 0.5224 GB, free: 7.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/19.07, allocations: 15.2 kB / 0.5224 GB, free: 7.18 MB / 398.1 MB (rm -f AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe >> ../files/AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001_fmu --startTime=0 --stopTime=80000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001.fmu > AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe 2>&1)