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.0008339/0.0008339, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.003931/0.003931, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1882/0.1882, allocations: 22.36 MB / 313.8 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.0002919, allocations: 8 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2283, allocations: 55.98 MB / 438.7 MB, free: 39.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.002517/0.2309, allocations: 3.706 MB / 442.4 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.2321, allocations: 1.169 MB / 443.6 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.2322, allocations: 10.09 kB / 443.6 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.2324, allocations: 112.6 kB / 443.7 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.2329, allocations: 361.8 kB / 444 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.2333, allocations: 244.3 kB / 444.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.2348, allocations: 2.375 MB / 446.6 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009458/0.2358, allocations: 1.154 MB / 447.8 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004379/0.2362, allocations: 0.5432 MB / 448.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007102/0.2369, allocations: 0.8043 MB / 449.1 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.2371, allocations: 84 kB / 449.2 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.2372, allocations: 80.16 kB / 449.3 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.2375, allocations: 0.4892 MB / 449.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004472/0.238, allocations: 0.6922 MB / 450.5 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.239, allocations: 2.2 MB / 452.7 MB, free: 32.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.239, allocations: 0 / 452.7 MB, free: 32.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2391, allocations: 0 / 452.7 MB, free: 32.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.2391, allocations: 0 / 452.7 MB, free: 32.56 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.002719/0.2418, allocations: 1.64 MB / 454.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2418, allocations: 14.16 kB / 454.3 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.242, allocations: 161.6 kB / 454.5 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.2422, allocations: 127.2 kB / 454.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.243, allocations: 0.8029 MB / 455.4 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.2431, allocations: 79.31 kB / 455.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.2432, allocations: 117.5 kB / 455.6 MB, free: 30.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.2454, allocations: 1.422 MB / 457 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2454, allocations: 0 / 457 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2455, allocations: 39.78 kB / 457.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.2455, allocations: 24.25 kB / 457.1 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.2474, allocations: 1.255 MB / 458.4 MB, free: 29.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006904/0.2543, allocations: 6.04 MB / 464.4 MB, free: 26.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/0.2579, allocations: 1.765 MB / 466.2 MB, free: 25.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009051/0.2588, allocations: 0.6806 MB / 466.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.2589, allocations: 18.2 kB / 466.9 MB, free: 25.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.2589, allocations: 42.88 kB / 466.9 MB, free: 25.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 1.964e-06/0.2589, allocations: 1.25 kB / 466.9 MB, free: 25.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.005209/0.2641, allocations: 3.337 MB / 470.2 MB, free: 23.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.2642, allocations: 62.25 kB / 470.3 MB, free: 23.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/0.2648, allocations: 0.6043 MB / 470.9 MB, free: 22.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.2649, allocations: 48.39 kB / 471 MB, free: 22.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.2651, allocations: 442.3 kB / 471.4 MB, free: 22.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.2653, allocations: 383.5 kB / 471.8 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2655, allocations: 102 kB / 471.9 MB, free: 22.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2656, allocations: 404.9 kB / 472.3 MB, free: 21.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009976/0.2666, allocations: 0.7348 MB / 473 MB, free: 21.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.2677, allocations: 0.9239 MB / 473.9 MB, free: 20.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.2697, allocations: 1.725 MB / 475.6 MB, free: 20.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2697, allocations: 1.062 kB / 475.6 MB, free: 20.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003432/0.2732, allocations: 2.238 MB / 477.9 MB, free: 19.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2732, allocations: 6.5 kB / 477.9 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.2732, allocations: 4.781 kB / 477.9 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.2745, allocations: 427.2 kB / 478.3 MB, free: 18.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.276, allocations: 397.7 kB / 478.7 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006931/0.283, allocations: 14.71 MB / 493.4 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008054/0.2838, allocations: 139 kB / 493.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/0.2839, allocations: 47.98 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.0004636/0.2843, allocations: 381.4 kB / 494 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.2845, allocations: 79.06 kB / 494 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002478/0.287, allocations: 1.79 MB / 495.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.287, allocations: 8 kB / 495.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.287, allocations: 7.984 kB / 495.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.287, allocations: 7.922 kB / 495.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.2882, allocations: 1.469 MB / 497.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2882, allocations: 0 / 497.3 MB, free: 40 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.29, allocations: 347.6 kB / 497.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008746/0.2909, allocations: 348.3 kB / 498 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.291, allocations: 59.97 kB / 498.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008205/0.2992, allocations: 13.85 MB / 0.4999 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2992, allocations: 3.938 kB / 0.4999 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.3028, allocations: 2.439 MB / 0.5023 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.3029, allocations: 179.9 kB / 0.5025 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.3031, allocations: 55.97 kB / 0.5025 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006376/0.3037, allocations: 71.77 kB / 0.5026 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.3039, allocations: 84.81 kB / 0.5027 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/0.304, allocations: 23.98 kB / 0.5027 GB, free: 13.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00045/0.3045, allocations: 430.8 kB / 0.5031 GB, free: 12.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3045, allocations: 0 / 0.5031 GB, free: 12.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001006/0.3055, allocations: 443.2 kB / 0.5035 GB, free: 12.31 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.003842/0.3093, allocations: 3.055 MB / 0.5065 GB, free: 9.199 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.3125, allocations: 2.759 MB / 0.5092 GB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3125, allocations: 4 kB / 0.5092 GB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.3143, allocations: 1.865 MB / 0.511 GB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/0.3153, allocations: 289.5 kB / 0.5113 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/0.3362, allocations: 15.79 MB / 0.5267 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.337, allocations: 1.197 MB / 0.5279 GB, free: 2.637 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008885/0.3379, allocations: 358.9 kB / 0.5282 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005997/0.3385, allocations: 407.3 kB / 0.5286 GB, free: 1.883 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3385, allocations: 4 kB / 0.5286 GB, free: 1.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.066/2.404, allocations: 28.7 MB / 0.5567 GB, free: 5.508 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/2.405, allocations: 197.6 kB / 0.5568 GB, free: 5.258 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/5.05, allocations: 0 / 0.5568 GB, free: 5.258 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)