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.005473/0.005473, allocations: 99.41 kB / 15.73 MB, free: 5.996 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.001213/0.001213, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09082/0.09082, allocations: 22.33 MB / 312.9 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 67.91 kB / 436.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1183, allocations: 54.95 MB / 491.5 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004477/0.1228, allocations: 3.383 MB / 494.9 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1244, allocations: 0.9391 MB / 495.8 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.1246, allocations: 15.88 kB / 495.8 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.1248, allocations: 95.14 kB / 495.9 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004544/0.1253, allocations: 246.5 kB / 496.2 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004185/0.1257, allocations: 175.7 kB / 496.3 MB, free: 376 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000991/0.1267, allocations: 1.163 MB / 497.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008242/0.1275, allocations: 0.7995 MB / 498.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.1279, allocations: 454.8 kB / 498.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.1286, allocations: 0.514 MB / 499.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.1287, allocations: 124 kB / 499.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1289, allocations: 124 kB / 499.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.1292, allocations: 355.1 kB / 499.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000512/0.1297, allocations: 0.498 MB / 0.4886 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1308, allocations: 1.359 MB / 0.49 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1308, allocations: 0 / 0.49 GB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1308, allocations: 0 / 0.49 GB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.1309, allocations: 4 kB / 0.49 GB, free: 10.97 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.002332/0.1332, allocations: 1.224 MB / 0.4912 GB, free: 9.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1332, allocations: 12.02 kB / 0.4912 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/0.1334, allocations: 110.6 kB / 0.4913 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.1336, allocations: 91.89 kB / 0.4914 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000753/0.1343, allocations: 0.5381 MB / 0.4919 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/0.1344, allocations: 75.58 kB / 0.492 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.1345, allocations: 76.27 kB / 0.492 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.1359, allocations: 0.8302 MB / 0.4928 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.136, allocations: 0 / 0.4928 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.1361, allocations: 28 kB / 0.4929 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1361, allocations: 19.98 kB / 0.4929 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.1372, allocations: 0.7196 MB / 0.4936 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004936/0.1422, allocations: 3.728 MB / 0.4972 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.1445, allocations: 0.915 MB / 0.4981 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.1451, allocations: 370.4 kB / 0.4985 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.1452, allocations: 8.562 kB / 0.4985 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.1452, allocations: 39.12 kB / 0.4985 GB, free: 1.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 1.873e-06/0.1452, allocations: 0 / 0.4985 GB, free: 1.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.2315/0.3767, allocations: 1.719 MB / 0.5002 GB, free: 21.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3768, allocations: 64.05 kB / 0.5003 GB, free: 21.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000634/0.3774, allocations: 468 kB / 0.5007 GB, free: 21.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.3776, allocations: 37.17 kB / 0.5007 GB, free: 21.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.3778, allocations: 347 kB / 0.5011 GB, free: 21.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.378, allocations: 222.4 kB / 0.5013 GB, free: 21.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.3782, allocations: 146.8 kB / 0.5014 GB, free: 21.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.3783, allocations: 381.8 kB / 0.5018 GB, free: 21.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006009/0.3789, allocations: 452.6 kB / 0.5022 GB, free: 21.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.3795, allocations: 0.5855 MB / 0.5028 GB, free: 21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006334/0.3859, allocations: 2.39 MB / 0.5051 GB, free: 20.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.3859, allocations: 1.688 kB / 0.5051 GB, free: 20.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002364/0.3883, allocations: 1.29 MB / 0.5064 GB, free: 20.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.3883, allocations: 9.844 kB / 0.5064 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3884, allocations: 8.625 kB / 0.5064 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007744/0.3891, allocations: 208.2 kB / 0.5066 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.3904, allocations: 258.1 kB / 0.5068 GB, free: 20.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.3951, allocations: 7.908 MB / 0.5146 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007298/0.3959, allocations: 91.14 kB / 0.5147 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.929e-05/0.396, allocations: 29.59 kB / 0.5147 GB, free: 13.67 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.0004365/0.3964, allocations: 277.3 kB / 0.5149 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.3965, allocations: 54.41 kB / 0.515 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.3982, allocations: 0.9892 MB / 0.516 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3983, allocations: 10.45 kB / 0.516 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3983, allocations: 2.781 kB / 0.516 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3983, allocations: 4.781 kB / 0.516 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3994, allocations: 0.8874 MB / 0.5169 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3994, allocations: 2.25 kB / 0.5169 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.4007, allocations: 215.8 kB / 0.5171 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004873/0.4012, allocations: 170.1 kB / 0.5172 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.4013, allocations: 34.56 kB / 0.5173 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/0.4049, allocations: 7.455 MB / 0.5245 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4049, allocations: 1.344 kB / 0.5245 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.407, allocations: 1.36 MB / 0.5259 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.4071, allocations: 144.2 kB / 0.526 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4073, allocations: 29.3 kB / 0.526 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.4077, allocations: 28.28 kB / 0.5261 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.4078, allocations: 53.61 kB / 0.5261 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.4079, allocations: 17.89 kB / 0.5261 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004128/0.4083, allocations: 328 kB / 0.5264 GB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4083, allocations: 4 kB / 0.5264 GB, free: 5.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001011/0.4093, allocations: 261.9 kB / 0.5267 GB, free: 5.695 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.002441/0.4118, allocations: 1.943 MB / 0.5286 GB, free: 4.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001952/0.4137, allocations: 1.473 MB / 0.53 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4137, allocations: 3.469 kB / 0.53 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009139/0.4146, allocations: 0.9502 MB / 0.531 GB, free: 2.848 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.4154, allocations: 185.4 kB / 0.5311 GB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.4288, allocations: 8.657 MB / 0.5396 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007185/0.4296, allocations: 0.9795 MB / 0.5405 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007117/0.4303, allocations: 217.9 kB / 0.5408 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.4307, allocations: 252.4 kB / 0.541 GB, free: 13.17 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4307, allocations: 4 kB / 0.541 GB, free: 13.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05047/0.4812, allocations: 18.83 MB / 0.5594 GB, free: 13.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.24, allocations: 14.12 kB / 0.5594 GB, free: 13.17 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 & /home/hudson/saved_omc/OMSimulator/install/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)