Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",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.001479/0.001479, allocations: 108 kB / 15.61 MB, free: 152 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.001742/0.001742, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1895/0.1895, allocations: 22.36 MB / 312.8 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 67.89 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2357, allocations: 54.94 MB / 435.9 MB, free: 39.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.003327/0.2391, allocations: 3.38 MB / 439.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.2402, allocations: 0.9418 MB / 440.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.2404, allocations: 5.844 kB / 440.2 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001872/0.2406, allocations: 99.12 kB / 440.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003759/0.2409, allocations: 241.8 kB / 440.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.2413, allocations: 180 kB / 440.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.242, allocations: 1.155 MB / 441.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006389/0.2426, allocations: 0.8066 MB / 442.7 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.2429, allocations: 441.5 kB / 443.1 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.2434, allocations: 0.5222 MB / 443.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.2435, allocations: 124.8 kB / 443.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.2437, allocations: 123 kB / 443.9 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.2439, allocations: 365 kB / 444.2 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.2443, allocations: 0.5038 MB / 444.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.2451, allocations: 1.338 MB / 446.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2451, allocations: 0 / 446.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2451, allocations: 0 / 446.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.2451, allocations: 0 / 446.1 MB, free: 33.86 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002079/0.2472, allocations: 1.224 MB / 447.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2472, allocations: 9.812 kB / 447.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.2473, allocations: 122.3 kB / 447.4 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.2475, allocations: 86.44 kB / 447.5 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.2481, allocations: 0.5395 MB / 448 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.2481, allocations: 78.83 kB / 448.1 MB, free: 32.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.2483, allocations: 74.44 kB / 448.2 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.2494, allocations: 0.8261 MB / 449 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2494, allocations: 3.984 kB / 449 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.2495, allocations: 25.25 kB / 449.1 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2495, allocations: 15.75 kB / 449.1 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2506, allocations: 0.7286 MB / 449.8 MB, free: 31.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004065/0.2546, allocations: 3.753 MB / 453.6 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.2567, allocations: 0.9076 MB / 454.5 MB, free: 29.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.2572, allocations: 366.1 kB / 454.8 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.2572, allocations: 9.969 kB / 454.8 MB, free: 28.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.2573, allocations: 38.25 kB / 454.9 MB, free: 28.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.454e-06/0.2573, allocations: 4 kB / 454.9 MB, free: 28.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.003157/0.2604, allocations: 1.722 MB / 456.6 MB, free: 27.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.2605, allocations: 58.44 kB / 456.6 MB, free: 27.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.2609, allocations: 473.8 kB / 457.1 MB, free: 27.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.261, allocations: 36.86 kB / 457.1 MB, free: 27.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.2611, allocations: 351.9 kB / 457.5 MB, free: 27.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.2613, allocations: 222.3 kB / 457.7 MB, free: 27.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.2615, allocations: 150.4 kB / 457.9 MB, free: 26.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.2616, allocations: 378.8 kB / 458.2 MB, free: 26.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006041/0.2622, allocations: 452.5 kB / 458.7 MB, free: 26.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.2629, allocations: 0.5944 MB / 459.3 MB, free: 26.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/0.2698, allocations: 2.395 MB / 461.7 MB, free: 25.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.2698, allocations: 2.5 kB / 461.7 MB, free: 25.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002197/0.272, allocations: 1.291 MB / 462.9 MB, free: 24.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.2721, allocations: 7.094 kB / 463 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.2721, allocations: 6.375 kB / 463 MB, free: 24.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007509/0.2728, allocations: 209.2 kB / 463.2 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.2741, allocations: 266.6 kB / 463.4 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004408/0.2785, allocations: 7.895 MB / 471.3 MB, free: 16.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006812/0.2792, allocations: 91.31 kB / 471.4 MB, free: 16.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/0.2793, allocations: 29.72 kB / 471.4 MB, free: 16.83 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004085/0.2797, allocations: 280.1 kB / 471.7 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.2798, allocations: 62.83 kB / 471.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.2815, allocations: 0.9722 MB / 472.7 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.2815, allocations: 5.781 kB / 472.8 MB, free: 16.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2815, allocations: 9.344 kB / 472.8 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.2816, allocations: 2.766 kB / 472.8 MB, free: 16.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.2826, allocations: 0.89 MB / 473.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.2826, allocations: 3.938 kB / 473.7 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.2839, allocations: 214.8 kB / 473.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/0.2844, allocations: 178 kB / 474 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.2845, allocations: 30.58 kB / 474.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003531/0.288, allocations: 7.45 MB / 481.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2881, allocations: 3.938 kB / 481.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.2901, allocations: 1.37 MB / 482.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.2902, allocations: 141.8 kB / 483 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.2903, allocations: 29.17 kB / 483.1 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003999/0.2907, allocations: 31.62 kB / 483.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.2909, allocations: 44.58 kB / 483.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.2909, allocations: 17.83 kB / 483.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003602/0.2913, allocations: 326.1 kB / 483.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2913, allocations: 4 kB / 483.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008162/0.2921, allocations: 262.1 kB / 483.7 MB, free: 7.141 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (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],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00238/0.2945, allocations: 1.944 MB / 485.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.2968, allocations: 1.666 MB / 487.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2968, allocations: 1.031 kB / 487.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009712/0.2978, allocations: 0.9531 MB / 488.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/0.2986, allocations: 177.6 kB / 488.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.3104, allocations: 8.798 MB / 497.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.311, allocations: 0.9833 MB / 498.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006569/0.3117, allocations: 210.8 kB / 498.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.3121, allocations: 253.7 kB / 498.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of SimCode: time 1.974e-06/0.3121, allocations: 0 / 498.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7593/1.071, allocations: 18.23 MB / 0.5048 GB, free: 10.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.82/10.89, allocations: 12.47 kB / 0.5048 GB, free: 10.3 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_003_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)