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.0009435/0.0009436, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.000931/0.000931, allocations: 177.3 kB / 15.94 MB, free: 228 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.281/1.281, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2024/0.2024, allocations: 22.34 MB / 313.3 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 8 kB / 381.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2184, allocations: 55.98 MB / 437.9 MB, free: 39.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.001867/0.2203, allocations: 2.61 MB / 440.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009112/0.2212, allocations: 0.9019 MB / 441.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2213, allocations: 9.5 kB / 441.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.2214, allocations: 66.88 kB / 441.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.2217, allocations: 177.1 kB / 441.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.2219, allocations: 105.1 kB / 441.8 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.2224, allocations: 0.5807 MB / 442.3 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.2228, allocations: 0.5421 MB / 442.9 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.223, allocations: 295.4 kB / 443.2 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.2234, allocations: 349 kB / 443.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.2234, allocations: 46.69 kB / 443.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.683e-05/0.2235, allocations: 44.28 kB / 443.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.2236, allocations: 239.6 kB / 443.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.61e-05/0.2237, allocations: 164.4 kB / 444 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.2242, allocations: 1.011 MB / 445 MB, free: 35.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.2242, allocations: 0 / 445 MB, free: 35.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2243, allocations: 0 / 445 MB, free: 35.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.2243, allocations: 0 / 445 MB, free: 35.32 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.001608/0.2259, allocations: 1.068 MB / 446.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.2259, allocations: 12.75 kB / 446.1 MB, free: 34.69 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.724e-05/0.226, allocations: 104.7 kB / 446.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.2261, allocations: 79.06 kB / 446.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.2267, allocations: 0.5113 MB / 446.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.2267, allocations: 45.59 kB / 446.8 MB, free: 34.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/0.2268, allocations: 68.83 kB / 446.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.2277, allocations: 0.766 MB / 447.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.2278, allocations: 0 / 447.7 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.2278, allocations: 21.88 kB / 447.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.2278, allocations: 13.94 kB / 447.7 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008447/0.2287, allocations: 0.6833 MB / 448.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003469/0.2322, allocations: 3.602 MB / 452 MB, free: 31.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.2339, allocations: 0.8685 MB / 452.8 MB, free: 30.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.2339, allocations: 12.31 kB / 452.9 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.314e-05/0.2339, allocations: 38.47 kB / 452.9 MB, free: 30.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 1.493e-06/0.2339, allocations: 0 / 452.9 MB, free: 30.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003032/0.237, allocations: 1.903 MB / 454.8 MB, free: 29.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.237, allocations: 55.78 kB / 454.8 MB, free: 29.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.2374, allocations: 459.6 kB / 455.3 MB, free: 29.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.2375, allocations: 40.67 kB / 455.3 MB, free: 29.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2377, allocations: 324 kB / 455.7 MB, free: 29.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.2378, allocations: 203.2 kB / 455.9 MB, free: 28.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.2378, allocations: 15.22 kB / 455.9 MB, free: 28.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.2379, allocations: 368 kB / 456.2 MB, free: 28.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/0.2384, allocations: 406.2 kB / 456.6 MB, free: 28.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.239, allocations: 0.5473 MB / 457.2 MB, free: 28.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/0.2396, allocations: 0.4936 MB / 457.7 MB, free: 27.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2396, allocations: 1.375 kB / 457.7 MB, free: 27.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002027/0.2416, allocations: 1.297 MB / 459 MB, free: 27.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.2417, allocations: 7.312 kB / 459 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2417, allocations: 5 kB / 459 MB, free: 27.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008886/0.2426, allocations: 273.5 kB / 459.2 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/0.2434, allocations: 207.4 kB / 459.4 MB, free: 27.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/0.2483, allocations: 8.905 MB / 468.3 MB, free: 18.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.249, allocations: 99.83 kB / 468.4 MB, free: 18.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.2491, allocations: 32.14 kB / 468.5 MB, free: 18.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003459/0.2494, allocations: 263.3 kB / 468.7 MB, free: 18.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.2495, allocations: 57.47 kB / 468.8 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.2513, allocations: 0.9967 MB / 469.8 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.2513, allocations: 5.719 kB / 469.8 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.2513, allocations: 1.953 kB / 469.8 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2513, allocations: 2.344 kB / 469.8 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009292/0.2522, allocations: 0.8551 MB / 470.7 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2523, allocations: 0 / 470.7 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/0.2532, allocations: 172.7 kB / 470.8 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000632/0.2538, allocations: 223.3 kB / 471 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/0.2539, allocations: 34.81 kB / 471.1 MB, free: 17.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004147/0.258, allocations: 8.44 MB / 479.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.258, allocations: 3.953 kB / 479.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.2602, allocations: 1.369 MB / 480.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.2604, allocations: 147.9 kB / 481 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.2605, allocations: 27.95 kB / 481.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/0.2609, allocations: 38.89 kB / 481.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.2611, allocations: 51.53 kB / 481.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.2611, allocations: 11.44 kB / 481.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003382/0.2614, allocations: 325.2 kB / 481.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.2615, allocations: 1.844 kB / 481.5 MB, free: 8.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008159/0.2623, allocations: 262.4 kB / 481.7 MB, free: 7.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002181/0.2645, allocations: 1.947 MB / 483.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.2663, allocations: 1.573 MB / 485.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2664, allocations: 1 kB / 485.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009943/0.2674, allocations: 1.084 MB / 486.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.2679, allocations: 154.9 kB / 486.5 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.2727, allocations: 6.681 MB / 493.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.2732, allocations: 0.9812 MB / 494.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005682/0.2738, allocations: 207.6 kB / 494.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/0.2741, allocations: 235.2 kB / 494.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2741, allocations: 0 / 494.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.286/1.56, allocations: 16.99 MB / 0.4996 GB, free: 1.141 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.56, allocations: 199.3 kB / 0.4998 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/3.509, allocations: 0 / 0.4998 GB, free: 0.8984 MB / 366.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/linux/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) Environment - environmentSimulation: