Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",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.001074/0.001074, 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.001044/0.001044, allocations: 198.1 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.207/1.207, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2041/0.2041, allocations: 22.35 MB / 312.3 MB, free: 12.69 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.89 kB / 380.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2419, allocations: 54.95 MB / 435.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.003434/0.2454, allocations: 4.16 MB / 439.3 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2467, allocations: 1.197 MB / 440.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.2469, allocations: 15.66 kB / 440.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.2471, allocations: 119.3 kB / 440.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.2475, allocations: 367.4 kB / 441 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.248, allocations: 254.7 kB / 441.3 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.2492, allocations: 2.406 MB / 443.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008979/0.2501, allocations: 1.221 MB / 444.9 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004544/0.2506, allocations: 0.6161 MB / 445.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007228/0.2513, allocations: 0.8812 MB / 446.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.2515, allocations: 101.6 kB / 446.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.2517, allocations: 105.5 kB / 446.6 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003108/0.252, allocations: 0.5225 MB / 447.1 MB, free: 33.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.2525, allocations: 0.7253 MB / 447.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2538, allocations: 2.285 MB / 450.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2538, allocations: 3.188 kB / 450.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.2538, allocations: 3.25 kB / 450.1 MB, free: 31.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.2538, allocations: 0 / 450.1 MB, free: 31.84 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003357/0.2572, allocations: 1.879 MB / 452 MB, free: 30.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2572, allocations: 13.19 kB / 452 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.2574, allocations: 157.3 kB / 452.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.2576, allocations: 135.7 kB / 452.3 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/0.2585, allocations: 0.8067 MB / 453.1 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.404e-05/0.2586, allocations: 75.16 kB / 453.2 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001735/0.2587, allocations: 135 kB / 453.3 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.2607, allocations: 1.425 MB / 454.7 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.2608, allocations: 3.938 kB / 454.7 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.2609, allocations: 40.62 kB / 454.8 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.2609, allocations: 27.5 kB / 454.8 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.2627, allocations: 1.265 MB / 456.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007062/0.2698, allocations: 6.028 MB / 462.1 MB, free: 25.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003858/0.2737, allocations: 1.77 MB / 463.9 MB, free: 24.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00093/0.2746, allocations: 0.6883 MB / 464.6 MB, free: 24.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.687e-05/0.2747, allocations: 18.38 kB / 464.6 MB, free: 24.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2747, allocations: 48.31 kB / 464.6 MB, free: 24.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.785e-06/0.2747, allocations: 0 / 464.6 MB, free: 24.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.006342/0.2811, allocations: 3.512 MB / 468.1 MB, free: 22.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2811, allocations: 62.03 kB / 468.2 MB, free: 22.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007721/0.2819, allocations: 0.6354 MB / 468.8 MB, free: 21.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.692e-05/0.282, allocations: 45.83 kB / 468.9 MB, free: 21.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.2822, allocations: 456.8 kB / 469.3 MB, free: 21.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.2825, allocations: 387.2 kB / 469.7 MB, free: 21.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/0.2829, allocations: 220.2 kB / 469.9 MB, free: 20.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.283, allocations: 409.5 kB / 470.3 MB, free: 20.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.2841, allocations: 0.7389 MB / 471.1 MB, free: 20.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.2852, allocations: 0.9315 MB / 472 MB, free: 19.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/0.2874, allocations: 1.723 MB / 473.7 MB, free: 18.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2874, allocations: 5.562 kB / 473.7 MB, free: 18.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004138/0.2915, allocations: 2.299 MB / 476 MB, free: 17.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.2916, allocations: 9.969 kB / 476 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2916, allocations: 9.438 kB / 476 MB, free: 17.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.2934, allocations: 0.4893 MB / 476.5 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.2949, allocations: 356.5 kB / 476.9 MB, free: 17.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009393/0.3043, allocations: 16.37 MB / 493.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.3055, allocations: 138.8 kB / 493.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.3056, allocations: 40 kB / 493.4 MB, free: 1.336 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005399/0.3061, allocations: 389.5 kB / 493.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.3063, allocations: 86.97 kB / 493.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.3094, allocations: 1.889 MB / 495.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3094, allocations: 11.94 kB / 495.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3094, allocations: 4 kB / 495.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3095, allocations: 3.984 kB / 495.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.3111, allocations: 1.473 MB / 497.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3111, allocations: 0 / 497.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001766/0.3128, allocations: 319.6 kB / 497.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.3141, allocations: 433 kB / 498 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.3143, allocations: 59.97 kB / 498.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.3244, allocations: 15.52 MB / 0.5015 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3245, allocations: 4.031 kB / 0.5015 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/0.3287, allocations: 2.537 MB / 0.504 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/0.329, allocations: 187.8 kB / 0.5042 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.3292, allocations: 51.98 kB / 0.5042 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.33, allocations: 63.92 kB / 0.5043 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/0.3302, allocations: 88.8 kB / 0.5044 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.202e-05/0.3303, allocations: 31.98 kB / 0.5044 GB, free: 8.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005494/0.3309, allocations: 459.1 kB / 0.5049 GB, free: 8.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3309, allocations: 0 / 0.5049 GB, free: 8.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001364/0.3322, allocations: 467.1 kB / 0.5053 GB, free: 7.637 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 (84): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004518/0.3368, allocations: 3.145 MB / 0.5084 GB, free: 4.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003839/0.3406, allocations: 2.93 MB / 0.5112 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3406, allocations: 1.062 kB / 0.5112 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.3429, allocations: 2.022 MB / 0.5132 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.3442, allocations: 282.2 kB / 0.5135 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/0.369, allocations: 15.42 MB / 0.5285 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008542/0.3698, allocations: 1.205 MB / 0.5297 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.3709, allocations: 359 kB / 0.5301 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006472/0.3715, allocations: 411.3 kB / 0.5304 GB, free: 13.13 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3715, allocations: 4 kB / 0.5305 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/0.4196, allocations: 30.96 MB / 0.5607 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.4199, allocations: 208.8 kB / 0.5609 GB, free: 14.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/2.972, allocations: 0 / 0.5609 GB, free: 14.23 MB / 446.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_005_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1)