Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",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.0008642/0.0008642, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.0008059/0.0008059, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1828/0.1828, allocations: 22.34 MB / 313.3 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002757, allocations: 12 kB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2229, allocations: 55.97 MB / 437.9 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.002097/0.2251, allocations: 2.865 MB / 440.8 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009676/0.226, allocations: 0.9657 MB / 441.7 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.2262, allocations: 9.469 kB / 441.7 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.2263, allocations: 79.23 kB / 441.8 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.2266, allocations: 190.7 kB / 442 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.2269, allocations: 113.8 kB / 442.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004661/0.2274, allocations: 0.6335 MB / 442.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004976/0.2279, allocations: 0.5647 MB / 443.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.2281, allocations: 320.3 kB / 443.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.2285, allocations: 372.4 kB / 444 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.2286, allocations: 48.56 kB / 444 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.2287, allocations: 48.69 kB / 444.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.2288, allocations: 242.7 kB / 444.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.229, allocations: 187.8 kB / 444.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.2295, allocations: 1.057 MB / 445.5 MB, free: 35.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2295, allocations: 3.125 kB / 445.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2296, allocations: 0 / 445.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.2296, allocations: 0 / 445.6 MB, free: 35.09 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001736/0.2313, allocations: 1.101 MB / 446.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2313, allocations: 8.031 kB / 446.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.2315, allocations: 110.7 kB / 446.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2316, allocations: 81.56 kB / 446.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.2322, allocations: 0.5337 MB / 447.4 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.2323, allocations: 73.2 kB / 447.5 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.2324, allocations: 82.95 kB / 447.5 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.2335, allocations: 0.8138 MB / 448.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2335, allocations: 0 / 448.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.2336, allocations: 29.88 kB / 448.4 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2336, allocations: 14.56 kB / 448.4 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.2345, allocations: 0.7236 MB / 449.1 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003765/0.2383, allocations: 3.783 MB / 452.9 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.2401, allocations: 0.8983 MB / 453.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.2401, allocations: 13.19 kB / 453.8 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.2402, allocations: 37.81 kB / 453.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.663e-06/0.2402, allocations: 0 / 453.8 MB, free: 30.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002532/0.2427, allocations: 1.749 MB / 455.6 MB, free: 29.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.2427, allocations: 58.08 kB / 455.7 MB, free: 29.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003853/0.2431, allocations: 468.7 kB / 456.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.2432, allocations: 40.2 kB / 456.1 MB, free: 28.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.2433, allocations: 340.3 kB / 456.5 MB, free: 28.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.2434, allocations: 227.2 kB / 456.7 MB, free: 28.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.2435, allocations: 15.78 kB / 456.7 MB, free: 28.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.2436, allocations: 373.2 kB / 457.1 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/0.2441, allocations: 453.8 kB / 457.5 MB, free: 28.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.2447, allocations: 0.5823 MB / 458.1 MB, free: 27.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000635/0.2454, allocations: 0.5128 MB / 458.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2454, allocations: 1.469 kB / 458.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001856/0.2473, allocations: 1.287 MB / 459.9 MB, free: 26.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2473, allocations: 7.719 kB / 459.9 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.2473, allocations: 5.875 kB / 459.9 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006577/0.248, allocations: 221.2 kB / 460.1 MB, free: 26.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.2491, allocations: 254.1 kB / 460.4 MB, free: 26.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003877/0.253, allocations: 7.428 MB / 467.8 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/0.2536, allocations: 101.1 kB / 467.9 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-05/0.2537, allocations: 32.97 kB / 467.9 MB, free: 19.55 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004638/0.2542, allocations: 281.7 kB / 468.2 MB, free: 19.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.2544, allocations: 54.7 kB / 468.3 MB, free: 19.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.256, allocations: 0.9795 MB / 469.3 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.256, allocations: 6.078 kB / 469.3 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.256, allocations: 2.688 kB / 469.3 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2561, allocations: 2.953 kB / 469.3 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009185/0.257, allocations: 0.8897 MB / 470.2 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.257, allocations: 0 / 470.2 MB, free: 18.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.2582, allocations: 217.1 kB / 470.4 MB, free: 18.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/0.2587, allocations: 170.5 kB / 470.5 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/0.2588, allocations: 34.83 kB / 470.6 MB, free: 18.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00318/0.262, allocations: 6.973 MB / 477.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.262, allocations: 0.6094 kB / 477.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.264, allocations: 1.358 MB / 478.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.2641, allocations: 144.7 kB / 479 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.2642, allocations: 28.23 kB / 479.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.2647, allocations: 41.2 kB / 479.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.2648, allocations: 51.42 kB / 479.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.2648, allocations: 19.92 kB / 479.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003314/0.2652, allocations: 322.9 kB / 479.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2652, allocations: 0 / 479.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00083/0.266, allocations: 261.6 kB / 479.8 MB, free: 10.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002132/0.2682, allocations: 1.94 MB / 481.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.2699, allocations: 1.473 MB / 483.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2699, allocations: 0 / 483.2 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.2707, allocations: 0.9599 MB / 484.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.2713, allocations: 176.6 kB / 484.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.2769, allocations: 7.432 MB / 491.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.2774, allocations: 0.9965 MB / 492.7 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006513/0.2781, allocations: 211.1 kB / 492.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.2785, allocations: 249.6 kB / 493.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2785, allocations: 0 / 493.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.752/3.03, allocations: 16.77 MB / 0.498 GB, free: 3.043 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/3.03, allocations: 180.8 kB / 0.4982 GB, free: 2.805 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/4.931, allocations: 0 / 0.4982 GB, free: 2.805 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_003_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1) Environment - environmentSimulation: