Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",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.001227/0.001227, 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.001281/0.001281, allocations: 194.3 kB / 16.14 MB, free: 6.711 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.226/1.226, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1903/0.1903, allocations: 22.36 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.12 kB / 380.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2283, allocations: 54.94 MB / 435.2 MB, free: 39.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.003715/0.2321, allocations: 4.107 MB / 439.3 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.2334, allocations: 1.173 MB / 440.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.2336, allocations: 13.03 kB / 440.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.2338, allocations: 112.8 kB / 440.6 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004007/0.2342, allocations: 360.8 kB / 440.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.2347, allocations: 248.6 kB / 441.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.236, allocations: 2.377 MB / 443.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009531/0.2369, allocations: 1.211 MB / 444.7 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.2374, allocations: 0.5909 MB / 445.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.2381, allocations: 0.8754 MB / 446.2 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.2383, allocations: 103.4 kB / 446.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.2385, allocations: 100.9 kB / 446.4 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.2388, allocations: 0.5253 MB / 446.9 MB, free: 33.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.2393, allocations: 0.7065 MB / 447.6 MB, free: 32.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.2404, allocations: 2.272 MB / 449.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2404, allocations: 2.625 kB / 449.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2405, allocations: 0 / 449.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.2405, allocations: 0 / 449.9 MB, free: 32.02 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003321/0.2438, allocations: 1.84 MB / 451.8 MB, free: 31.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2439, allocations: 10.44 kB / 451.8 MB, free: 31.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.244, allocations: 163.8 kB / 451.9 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.2443, allocations: 124.6 kB / 452 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/0.2452, allocations: 0.7967 MB / 452.8 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.891e-05/0.2453, allocations: 80.28 kB / 452.9 MB, free: 30.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.2455, allocations: 118.4 kB / 453 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.2475, allocations: 1.423 MB / 454.5 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.2475, allocations: 0 / 454.5 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.2477, allocations: 40.78 kB / 454.5 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.2477, allocations: 23.75 kB / 454.5 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.2498, allocations: 1.259 MB / 455.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/0.2572, allocations: 5.994 MB / 461.8 MB, free: 25.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.2612, allocations: 1.756 MB / 463.5 MB, free: 24.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009472/0.2621, allocations: 0.6893 MB / 464.2 MB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.2622, allocations: 13.36 kB / 464.2 MB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.2622, allocations: 48.5 kB / 464.3 MB, free: 24.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.445e-06/0.2623, allocations: 0 / 464.3 MB, free: 24.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.00528/0.2675, allocations: 3.277 MB / 467.6 MB, free: 22.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.2676, allocations: 66.03 kB / 467.6 MB, free: 22.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/0.2683, allocations: 0.6059 MB / 468.2 MB, free: 22.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.2683, allocations: 41.61 kB / 468.3 MB, free: 22.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.2686, allocations: 450.4 kB / 468.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/0.2688, allocations: 379.1 kB / 469.1 MB, free: 21.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.2692, allocations: 214.1 kB / 469.3 MB, free: 21.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2693, allocations: 400.2 kB / 469.7 MB, free: 21.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.2703, allocations: 0.7399 MB / 470.4 MB, free: 20.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.2715, allocations: 0.9192 MB / 471.3 MB, free: 20.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.2735, allocations: 1.721 MB / 473.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2735, allocations: 8.297 kB / 473.1 MB, free: 19.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003534/0.2771, allocations: 2.216 MB / 475.3 MB, free: 18.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2771, allocations: 6.219 kB / 475.3 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.2771, allocations: 4.5 kB / 475.3 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.2784, allocations: 418.5 kB / 475.7 MB, free: 18.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.28, allocations: 393.3 kB / 476.1 MB, free: 18.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00756/0.2876, allocations: 14.69 MB / 490.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009446/0.2886, allocations: 135.6 kB / 490.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.2887, allocations: 43.08 kB / 490.9 MB, free: 3.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (146): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,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%), (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.0005761/0.2893, allocations: 384.9 kB / 491.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.2895, allocations: 81.81 kB / 491.4 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/0.2921, allocations: 1.786 MB / 493.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2921, allocations: 15.98 kB / 493.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2921, allocations: 4 kB / 493.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2921, allocations: 7.922 kB / 493.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.2934, allocations: 1.469 MB / 494.7 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.2934, allocations: 0 / 494.7 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/0.2953, allocations: 347.6 kB / 495 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009194/0.2963, allocations: 348.3 kB / 495.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.2964, allocations: 55.97 kB / 495.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009089/0.3055, allocations: 13.85 MB / 0.4973 GB, free: 208 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3055, allocations: 3.938 kB / 0.4973 GB, free: 204 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.3095, allocations: 2.443 MB / 0.4997 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.3098, allocations: 172 kB / 0.4999 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.31, allocations: 63.91 kB / 0.4999 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/0.3108, allocations: 67.77 kB / 0.5 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.3111, allocations: 80.81 kB / 0.5001 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/0.3112, allocations: 27.98 kB / 0.5001 GB, free: 13.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005364/0.3117, allocations: 430.8 kB / 0.5005 GB, free: 12.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.103e-06/0.3117, allocations: 0 / 0.5005 GB, free: 12.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001323/0.3131, allocations: 443.2 kB / 0.5009 GB, free: 12.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.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 (86): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,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%), (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.004136/0.3172, allocations: 3.054 MB / 0.5039 GB, free: 9.316 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00345/0.3207, allocations: 2.751 MB / 0.5066 GB, free: 6.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3207, allocations: 4 kB / 0.5066 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001865/0.3225, allocations: 1.849 MB / 0.5084 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.3236, allocations: 280.7 kB / 0.5087 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/0.346, allocations: 15.2 MB / 0.5235 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.3471, allocations: 1.198 MB / 0.5247 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.3482, allocations: 362.9 kB / 0.5251 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/0.3489, allocations: 403.3 kB / 0.5254 GB, free: 2.629 MB / 398.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3489, allocations: 0 / 0.5254 GB, free: 2.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.3948, allocations: 29.15 MB / 0.5539 GB, free: 5.785 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.395, allocations: 205.9 kB / 0.5541 GB, free: 5.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/2.872, allocations: 0 / 0.5541 GB, free: 5.527 MB / 430.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)