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.001462/0.001462, allocations: 108 kB / 15.6 MB, free: 132 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.00176/0.001761, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1809/0.1809, allocations: 22.36 MB / 312.8 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 380.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.216, allocations: 54.93 MB / 435.9 MB, free: 39.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.003765/0.2198, allocations: 4.02 MB / 439.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.2212, allocations: 1.189 MB / 441.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.2214, allocations: 16.31 kB / 441.1 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.2216, allocations: 144.8 kB / 441.2 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.222, allocations: 396.8 kB / 441.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.2225, allocations: 268.9 kB / 441.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.2236, allocations: 1.983 MB / 443.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000988/0.2246, allocations: 1.464 MB / 445.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004802/0.2251, allocations: 0.7443 MB / 446.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007262/0.2258, allocations: 0.8925 MB / 447 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.226, allocations: 217.8 kB / 447.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.2263, allocations: 219.6 kB / 447.4 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.2266, allocations: 0.6374 MB / 448 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.2272, allocations: 0.8433 MB / 448.9 MB, free: 32.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.2283, allocations: 2.372 MB / 451.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2283, allocations: 3.938 kB / 451.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2283, allocations: 0 / 451.3 MB, free: 31.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.2284, allocations: 0 / 451.3 MB, free: 31.25 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.003262/0.2316, allocations: 1.877 MB / 453.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.2317, allocations: 10.94 kB / 453.2 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.2318, allocations: 157.1 kB / 453.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.232, allocations: 131.7 kB / 453.4 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/0.233, allocations: 0.8148 MB / 454.2 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.233, allocations: 74.5 kB / 454.3 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.2332, allocations: 131.2 kB / 454.4 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.2352, allocations: 1.426 MB / 455.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2352, allocations: 0 / 455.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.2354, allocations: 41.03 kB / 455.9 MB, free: 28.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.2354, allocations: 24.94 kB / 455.9 MB, free: 28.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.2372, allocations: 1.266 MB / 457.2 MB, free: 28.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007209/0.2444, allocations: 6.035 MB / 463.2 MB, free: 24.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/0.2483, allocations: 1.767 MB / 465 MB, free: 24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000891/0.2492, allocations: 0.6883 MB / 465.7 MB, free: 23.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-05/0.2493, allocations: 14.33 kB / 465.7 MB, free: 23.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.2493, allocations: 48.78 kB / 465.8 MB, free: 23.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.154e-06/0.2494, allocations: 4 kB / 465.8 MB, free: 23.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.005995/0.2554, allocations: 3.503 MB / 469.3 MB, free: 21.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.2554, allocations: 62.03 kB / 469.3 MB, free: 21.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006478/0.256, allocations: 0.643 MB / 470 MB, free: 21.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/0.2561, allocations: 46.47 kB / 470 MB, free: 21.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001989/0.2563, allocations: 463.7 kB / 470.5 MB, free: 20.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.2566, allocations: 384 kB / 470.8 MB, free: 20.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000349/0.2569, allocations: 215.8 kB / 471.1 MB, free: 20.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.257, allocations: 410.4 kB / 471.5 MB, free: 20.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.2581, allocations: 0.7425 MB / 472.2 MB, free: 19.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.2591, allocations: 0.9294 MB / 473.1 MB, free: 19.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/0.2611, allocations: 1.727 MB / 474.9 MB, free: 18.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2612, allocations: 1.469 kB / 474.9 MB, free: 18.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003779/0.2649, allocations: 2.298 MB / 477.2 MB, free: 17.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.265, allocations: 15.11 kB / 477.2 MB, free: 17.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.265, allocations: 4.125 kB / 477.2 MB, free: 17.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.2667, allocations: 0.4975 MB / 477.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.2681, allocations: 352.9 kB / 478 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009141/0.2772, allocations: 17.6 MB / 495.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.2782, allocations: 139 kB / 495.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.2783, allocations: 44 kB / 495.8 MB, free: 15.3 MB / 366.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.0005957/0.2789, allocations: 386.4 kB / 496.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.2791, allocations: 86.97 kB / 496.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.2823, allocations: 1.885 MB / 498.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2823, allocations: 8 kB / 498.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2823, allocations: 4 kB / 498.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.2824, allocations: 3.984 kB / 498.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.2839, allocations: 1.481 MB / 499.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2839, allocations: 3.938 kB / 499.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/0.2855, allocations: 323.7 kB / 500 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.2868, allocations: 429.1 kB / 0.4887 GB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.2869, allocations: 55.97 kB / 0.4887 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/0.2969, allocations: 16.71 MB / 0.505 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2969, allocations: 0 / 0.505 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.3008, allocations: 2.541 MB / 0.5075 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.301, allocations: 183.8 kB / 0.5077 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.3012, allocations: 63.97 kB / 0.5077 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006133/0.3018, allocations: 47.94 kB / 0.5078 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.302, allocations: 92.8 kB / 0.5079 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/0.3021, allocations: 24 kB / 0.5079 GB, free: 5.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004684/0.3026, allocations: 459 kB / 0.5083 GB, free: 4.809 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3026, allocations: 0 / 0.5083 GB, free: 4.809 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001112/0.3037, allocations: 467.1 kB / 0.5088 GB, free: 4.352 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.004069/0.3078, allocations: 3.154 MB / 0.5119 GB, free: 1.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004352/0.3121, allocations: 3.48 MB / 0.5153 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3121, allocations: 0 / 0.5153 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.3143, allocations: 2.02 MB / 0.5172 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.3152, allocations: 288.4 kB / 0.5175 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01898/0.3342, allocations: 15.01 MB / 0.5322 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.3349, allocations: 1.209 MB / 0.5333 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008464/0.3358, allocations: 367 kB / 0.5337 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/0.3363, allocations: 411.3 kB / 0.5341 GB, free: 9.676 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3363, allocations: 0 / 0.5341 GB, free: 9.676 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/1.429, allocations: 32.05 MB / 0.5654 GB, free: 9.926 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/13.26, allocations: 10.81 kB / 0.5654 GB, free: 9.918 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)