Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",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.001155/0.001155, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001109/0.001109, allocations: 195.3 kB / 16.26 MB, free: 6.621 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.11/1.11, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1625/0.1625, allocations: 22.34 MB / 312.4 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.89 kB / 380.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2004, allocations: 54.94 MB / 435.3 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.002877/0.2033, allocations: 3.31 MB / 438.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.2045, allocations: 0.8919 MB / 439.5 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.2047, allocations: 9.312 kB / 439.6 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.2049, allocations: 68.2 kB / 439.6 MB, free: 36.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.2053, allocations: 212.7 kB / 439.8 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.2056, allocations: 147.1 kB / 440 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.2062, allocations: 1.088 MB / 441.1 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005162/0.2067, allocations: 0.7642 MB / 441.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.207, allocations: 425.7 kB / 442.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.2074, allocations: 0.5348 MB / 442.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.866e-05/0.2075, allocations: 115.8 kB / 442.9 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.2076, allocations: 115.7 kB / 443 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.2078, allocations: 340.5 kB / 443.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.208, allocations: 480.5 kB / 443.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005739/0.2086, allocations: 1.276 MB / 445.1 MB, free: 34.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2086, allocations: 11.72 kB / 445.1 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2086, allocations: 0 / 445.1 MB, free: 34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2086, allocations: 0 / 445.1 MB, free: 34 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001729/0.2104, allocations: 1.181 MB / 446.3 MB, free: 33.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.801e-05/0.2104, allocations: 10.38 kB / 446.3 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.282e-05/0.2105, allocations: 101.2 kB / 446.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2106, allocations: 76.22 kB / 446.5 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004686/0.2111, allocations: 0.5254 MB / 447 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.2111, allocations: 41.59 kB / 447 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.186e-05/0.2112, allocations: 69.03 kB / 447.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/0.2122, allocations: 0.7791 MB / 447.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2122, allocations: 0 / 447.9 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.2123, allocations: 22.38 kB / 447.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2123, allocations: 13.75 kB / 447.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008336/0.2131, allocations: 0.6777 MB / 448.6 MB, free: 32.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.2163, allocations: 3.587 MB / 452.2 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.2181, allocations: 0.8674 MB / 453 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.2185, allocations: 362.2 kB / 453.4 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.362e-05/0.2185, allocations: 10.72 kB / 453.4 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.2186, allocations: 46.06 kB / 453.4 MB, free: 29.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.483e-06/0.2186, allocations: 4 kB / 453.4 MB, free: 29.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003125/0.2217, allocations: 1.868 MB / 455.3 MB, free: 28.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.2217, allocations: 57.09 kB / 455.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003935/0.2221, allocations: 469.1 kB / 455.8 MB, free: 27.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.2222, allocations: 36.77 kB / 455.9 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.2223, allocations: 322.8 kB / 456.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.2224, allocations: 200.8 kB / 456.4 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.2226, allocations: 143 kB / 456.5 MB, free: 27.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.969e-05/0.2227, allocations: 367.7 kB / 456.9 MB, free: 26.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.2232, allocations: 405.8 kB / 457.3 MB, free: 26.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.2237, allocations: 0.5549 MB / 457.8 MB, free: 26.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.2248, allocations: 0.9824 MB / 458.8 MB, free: 25.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2248, allocations: 5.281 kB / 458.8 MB, free: 25.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001959/0.2267, allocations: 1.288 MB / 460.1 MB, free: 25.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.2268, allocations: 10.84 kB / 460.1 MB, free: 25.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2268, allocations: 4.781 kB / 460.1 MB, free: 25.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008671/0.2277, allocations: 269.8 kB / 460.4 MB, free: 25.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.2285, allocations: 212.8 kB / 460.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00472/0.2332, allocations: 9.495 MB / 470.1 MB, free: 16.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.2337, allocations: 79.12 kB / 470.2 MB, free: 16.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.2338, allocations: 31.67 kB / 470.2 MB, free: 16.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002435/0.234, allocations: 264.2 kB / 470.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.597e-05/0.2341, allocations: 53.67 kB / 470.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.2357, allocations: 1 MB / 471.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.2357, allocations: 8.578 kB / 471.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2357, allocations: 5 kB / 471.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2357, allocations: 5.438 kB / 471.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000711/0.2364, allocations: 0.8517 MB / 472.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2365, allocations: 1.438 kB / 472.4 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009054/0.2374, allocations: 171.1 kB / 472.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006092/0.238, allocations: 229.7 kB / 472.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.263e-05/0.2381, allocations: 30.75 kB / 472.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003946/0.242, allocations: 9.024 MB / 481.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.242, allocations: 0.6562 kB / 481.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.2439, allocations: 1.378 MB / 483.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.244, allocations: 135.8 kB / 483.3 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.917e-05/0.2441, allocations: 36.22 kB / 483.4 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003927/0.2445, allocations: 37.08 kB / 483.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.2447, allocations: 42.56 kB / 483.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/0.2447, allocations: 17.22 kB / 483.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002942/0.245, allocations: 329.1 kB / 483.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.245, allocations: 1.281 kB / 483.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006537/0.2457, allocations: 267.6 kB / 484 MB, free: 4.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.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 (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002105/0.2478, allocations: 1.937 MB / 486 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.2497, allocations: 1.737 MB / 487.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2497, allocations: 1.469 kB / 487.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.2507, allocations: 1.079 MB / 488.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.2513, allocations: 169.8 kB / 489 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.2626, allocations: 8.756 MB / 497.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/0.263, allocations: 0.9704 MB / 498.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005449/0.2636, allocations: 208.1 kB / 498.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.2639, allocations: 236 kB / 499.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2639, allocations: 0 / 499.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.057/3.321, allocations: 18.44 MB / 0.5054 GB, free: 9.078 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/3.322, allocations: 216.9 kB / 0.5056 GB, free: 8.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.074/5.396, allocations: 0 / 0.5056 GB, free: 8.82 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_002_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)