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.008362/0.008362, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002032/0.002032, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09198/0.09198, allocations: 22.32 MB / 312.9 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 67.89 kB / 436.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1076, allocations: 54.95 MB / 491.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004321/0.112, allocations: 3.39 MB / 494.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1138, allocations: 0.9352 MB / 495.8 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002934/0.1141, allocations: 7.938 kB / 495.8 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.1144, allocations: 103.1 kB / 495.9 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006171/0.1151, allocations: 254.4 kB / 496.2 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.1156, allocations: 187.6 kB / 496.4 MB, free: 344 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1167, allocations: 1.159 MB / 497.5 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.1177, allocations: 0.7953 MB / 498.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.1183, allocations: 454.8 kB / 498.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007177/0.1191, allocations: 0.5141 MB / 499.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.1193, allocations: 120 kB / 499.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1195, allocations: 127.9 kB / 499.5 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.1198, allocations: 359.1 kB / 499.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005857/0.1204, allocations: 0.498 MB / 0.4886 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.1216, allocations: 1.355 MB / 0.49 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1216, allocations: 4 kB / 0.49 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1216, allocations: 0 / 0.49 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.161e-05/0.1217, allocations: 4 kB / 0.49 GB, free: 10.95 MB / 382.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.002617/0.1243, allocations: 1.242 MB / 0.4912 GB, free: 9.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.1243, allocations: 19.97 kB / 0.4912 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.1245, allocations: 110.7 kB / 0.4913 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.1247, allocations: 88.42 kB / 0.4914 GB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/0.1255, allocations: 0.5423 MB / 0.4919 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-05/0.1256, allocations: 79.56 kB / 0.492 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.1258, allocations: 76.33 kB / 0.4921 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1271, allocations: 0.8263 MB / 0.4929 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.1272, allocations: 0 / 0.4929 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.1273, allocations: 24 kB / 0.4929 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.1273, allocations: 20 kB / 0.4929 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.1285, allocations: 0.7196 MB / 0.4936 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005183/0.1337, allocations: 3.744 MB / 0.4973 GB, free: 3.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002242/0.1359, allocations: 0.9034 MB / 0.4982 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.1365, allocations: 370.4 kB / 0.4985 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.1366, allocations: 8.562 kB / 0.4985 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1366, allocations: 35.12 kB / 0.4986 GB, free: 1.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.204e-06/0.1366, allocations: 4 kB / 0.4986 GB, free: 1.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.2058/0.3424, allocations: 1.723 MB / 0.5003 GB, free: 21.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.3425, allocations: 57.53 kB / 0.5003 GB, free: 21.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006477/0.3432, allocations: 475.6 kB / 0.5008 GB, free: 21.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001866/0.3434, allocations: 37.14 kB / 0.5008 GB, free: 21.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.3435, allocations: 354.8 kB / 0.5011 GB, free: 21.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.3438, allocations: 232.3 kB / 0.5014 GB, free: 21.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.344, allocations: 148.2 kB / 0.5015 GB, free: 21.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.3441, allocations: 378.3 kB / 0.5019 GB, free: 21.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007007/0.3448, allocations: 453.6 kB / 0.5023 GB, free: 21.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00066/0.3455, allocations: 0.5897 MB / 0.5029 GB, free: 21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00674/0.3522, allocations: 2.389 MB / 0.5052 GB, free: 20.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.3522, allocations: 0 / 0.5052 GB, free: 20.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002315/0.3546, allocations: 1.292 MB / 0.5065 GB, free: 20.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3546, allocations: 8.438 kB / 0.5065 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3546, allocations: 10.95 kB / 0.5065 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.3554, allocations: 211.8 kB / 0.5067 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.3567, allocations: 261.1 kB / 0.5069 GB, free: 20.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.3613, allocations: 7.907 MB / 0.5147 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/0.3621, allocations: 91.17 kB / 0.5147 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/0.3621, allocations: 32.34 kB / 0.5148 GB, free: 13.68 MB / 382.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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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.3626, allocations: 276.3 kB / 0.515 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.3627, allocations: 62.83 kB / 0.5151 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.3645, allocations: 0.9792 MB / 0.516 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3645, allocations: 7.359 kB / 0.5161 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3645, allocations: 1.688 kB / 0.5161 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3645, allocations: 3.281 kB / 0.5161 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3656, allocations: 0.8879 MB / 0.5169 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3656, allocations: 2.188 kB / 0.5169 GB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.367, allocations: 218 kB / 0.5171 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000507/0.3675, allocations: 178.3 kB / 0.5173 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.3676, allocations: 33 kB / 0.5173 GB, free: 13.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004992/0.3726, allocations: 7.449 MB / 0.5246 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3726, allocations: 8.438 kB / 0.5246 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/0.3764, allocations: 1.361 MB / 0.526 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.3768, allocations: 148.8 kB / 0.5261 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.377, allocations: 29.02 kB / 0.5261 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/0.3777, allocations: 32.66 kB / 0.5262 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.378, allocations: 51.42 kB / 0.5262 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.062e-05/0.3781, allocations: 14.22 kB / 0.5262 GB, free: 5.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006276/0.3787, allocations: 329.6 kB / 0.5265 GB, free: 5.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3787, allocations: 0.75 kB / 0.5265 GB, free: 5.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001593/0.3803, allocations: 271.2 kB / 0.5268 GB, free: 5.711 MB / 382.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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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.004069/0.3844, allocations: 1.944 MB / 0.5287 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003322/0.3878, allocations: 1.476 MB / 0.5301 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3878, allocations: 1.156 kB / 0.5301 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.3894, allocations: 0.9561 MB / 0.5311 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.3907, allocations: 183 kB / 0.5312 GB, free: 2.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/0.4125, allocations: 8.694 MB / 0.5397 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.4136, allocations: 0.9835 MB / 0.5407 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001137/0.4147, allocations: 206.9 kB / 0.5409 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007242/0.4155, allocations: 250.7 kB / 0.5411 GB, free: 13.13 MB / 398.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4155, allocations: 0 / 0.5411 GB, free: 13.13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07447/0.49, allocations: 18.52 MB / 0.5592 GB, free: 13.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11, allocations: 11.69 kB / 0.5592 GB, free: 13.38 MB / 414.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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_003_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_liquid_circuit_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)