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.0007766/0.0007766, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.004442/0.004442, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2073/0.2073, allocations: 22.35 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 12 kB / 382.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2242, allocations: 55.98 MB / 438.7 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.002576/0.2268, allocations: 3.703 MB / 442.4 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2284, allocations: 1.171 MB / 443.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.2286, allocations: 11.44 kB / 443.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.2288, allocations: 111.8 kB / 443.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004446/0.2293, allocations: 366.4 kB / 444 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004685/0.2298, allocations: 242.2 kB / 444.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.231, allocations: 2.371 MB / 446.6 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008559/0.2319, allocations: 1.152 MB / 447.8 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.2323, allocations: 0.5432 MB / 448.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006697/0.2329, allocations: 0.8026 MB / 449.1 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2331, allocations: 82.03 kB / 449.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.2332, allocations: 78.28 kB / 449.3 MB, free: 33.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.2335, allocations: 0.4908 MB / 449.8 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.2339, allocations: 0.6901 MB / 450.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.235, allocations: 2.199 MB / 452.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.235, allocations: 4 kB / 452.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.235, allocations: 3.281 kB / 452.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.235, allocations: 0 / 452.7 MB, free: 32.43 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.002735/0.2377, allocations: 1.634 MB / 454.3 MB, free: 31.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2378, allocations: 19.81 kB / 454.3 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.2379, allocations: 163 kB / 454.5 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.2381, allocations: 128.4 kB / 454.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.2389, allocations: 0.7955 MB / 455.4 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.239, allocations: 73.66 kB / 455.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000201/0.2392, allocations: 120.2 kB / 455.6 MB, free: 30.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.2412, allocations: 1.425 MB / 457 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.2413, allocations: 0 / 457 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.2414, allocations: 44.53 kB / 457.1 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.2414, allocations: 24.56 kB / 457.1 MB, free: 30.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.2432, allocations: 1.255 MB / 458.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006856/0.2501, allocations: 6.039 MB / 464.4 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/0.2538, allocations: 1.76 MB / 466.2 MB, free: 25.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009073/0.2547, allocations: 0.6839 MB / 466.8 MB, free: 25.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.358e-05/0.2548, allocations: 11.73 kB / 466.8 MB, free: 25.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2548, allocations: 48.55 kB / 466.9 MB, free: 25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.244e-06/0.2548, allocations: 4 kB / 466.9 MB, free: 24.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.005301/0.2601, allocations: 3.327 MB / 470.2 MB, free: 23.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.2601, allocations: 65.52 kB / 470.3 MB, free: 22.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.2608, allocations: 0.6074 MB / 470.9 MB, free: 22.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.527e-05/0.2609, allocations: 40.45 kB / 470.9 MB, free: 22.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.2611, allocations: 454.6 kB / 471.4 MB, free: 22.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.2613, allocations: 384.2 kB / 471.8 MB, free: 22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.2615, allocations: 104.9 kB / 471.9 MB, free: 21.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2616, allocations: 400.2 kB / 472.2 MB, free: 21.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.2626, allocations: 0.739 MB / 473 MB, free: 21.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.2637, allocations: 0.9232 MB / 473.9 MB, free: 20.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.2658, allocations: 1.722 MB / 475.6 MB, free: 19.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2658, allocations: 1.719 kB / 475.6 MB, free: 19.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003545/0.2694, allocations: 2.241 MB / 477.9 MB, free: 18.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2694, allocations: 8.469 kB / 477.9 MB, free: 18.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.2694, allocations: 5.703 kB / 477.9 MB, free: 18.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.2707, allocations: 427.6 kB / 478.3 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.2724, allocations: 392.6 kB / 478.7 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.2797, allocations: 14.71 MB / 493.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009271/0.2807, allocations: 130.9 kB / 493.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.2808, allocations: 44 kB / 493.6 MB, free: 3.867 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.0005072/0.2813, allocations: 383 kB / 493.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.2814, allocations: 79.06 kB / 494 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.284, allocations: 1.79 MB / 495.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.284, allocations: 12 kB / 495.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2841, allocations: 4 kB / 495.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.2841, allocations: 7.922 kB / 495.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.2853, allocations: 1.465 MB / 497.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2853, allocations: 3.938 kB / 497.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/0.2872, allocations: 355.7 kB / 497.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008987/0.2881, allocations: 340.3 kB / 498 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.2883, allocations: 67.97 kB / 498.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008469/0.2967, allocations: 13.85 MB / 0.4999 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2968, allocations: 0 / 0.4999 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00368/0.3004, allocations: 2.443 MB / 0.5023 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.3006, allocations: 179.9 kB / 0.5025 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.3008, allocations: 55.97 kB / 0.5025 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/0.3015, allocations: 75.77 kB / 0.5026 GB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.3017, allocations: 72.83 kB / 0.5027 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.3018, allocations: 31.98 kB / 0.5027 GB, free: 13.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004786/0.3022, allocations: 430.8 kB / 0.5031 GB, free: 12.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3022, allocations: 0 / 0.5031 GB, free: 12.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001127/0.3034, allocations: 443.2 kB / 0.5035 GB, free: 12.3 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.00399/0.3074, allocations: 3.05 MB / 0.5065 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003352/0.3107, allocations: 2.768 MB / 0.5092 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3108, allocations: 8.062 kB / 0.5092 GB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.3126, allocations: 1.86 MB / 0.511 GB, free: 4.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.3136, allocations: 272.3 kB / 0.5113 GB, free: 4.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/0.3353, allocations: 15.81 MB / 0.5267 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.3361, allocations: 1.181 MB / 0.5279 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009087/0.337, allocations: 362.9 kB / 0.5282 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006056/0.3376, allocations: 403.3 kB / 0.5286 GB, free: 1.887 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3376, allocations: 0 / 0.5286 GB, free: 1.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.213/1.551, allocations: 28.71 MB / 0.5566 GB, free: 5.508 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003767/1.552, allocations: 210.4 kB / 0.5568 GB, free: 5.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/4.171, allocations: 0 / 0.5568 GB, free: 5.246 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)