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.005173/0.005173, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001152/0.001153, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2087/0.2087, allocations: 22.35 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 66.44 kB / 436.6 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1082, allocations: 54.96 MB / 491.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.005029/0.1133, allocations: 4.021 MB / 495.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1158, allocations: 1.193 MB / 496.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005181/0.1163, allocations: 11.94 kB / 496.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.1168, allocations: 142.7 kB / 496.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009129/0.1177, allocations: 385.7 kB / 497.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.1186, allocations: 287.6 kB / 497.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002246/0.1208, allocations: 1.978 MB / 499.5 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.1229, allocations: 1.452 MB / 0.4893 GB, free: 8.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.1241, allocations: 0.7521 MB / 0.49 GB, free: 7.414 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.1255, allocations: 0.8842 MB / 0.4908 GB, free: 6.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.1258, allocations: 224 kB / 0.4911 GB, free: 6.309 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.126, allocations: 219.9 kB / 0.4913 GB, free: 6.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000535/0.1266, allocations: 0.6431 MB / 0.4919 GB, free: 5.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008454/0.1274, allocations: 0.8367 MB / 0.4927 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001787/0.1292, allocations: 2.389 MB / 0.4951 GB, free: 2.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1292, allocations: 4 kB / 0.4951 GB, free: 2.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1292, allocations: 0 / 0.4951 GB, free: 2.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.272e-05/0.1293, allocations: 0 / 0.4951 GB, free: 2.211 MB / 366.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.003925/0.1332, allocations: 1.882 MB / 0.4969 GB, free: 280 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1333, allocations: 12.03 kB / 0.4969 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.1335, allocations: 160.6 kB / 0.4971 GB, free: 100 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002732/0.1338, allocations: 131.5 kB / 0.4972 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.1351, allocations: 0.8094 MB / 0.498 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.437e-05/0.1352, allocations: 74.41 kB / 0.498 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.1354, allocations: 124.3 kB / 0.4982 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.1376, allocations: 1.429 MB / 0.4996 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1377, allocations: 7.922 kB / 0.4996 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.1378, allocations: 44 kB / 0.4996 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.1378, allocations: 24 kB / 0.4996 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.1398, allocations: 1.265 MB / 0.5009 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008503/0.1483, allocations: 5.991 MB / 0.5067 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/0.1525, allocations: 1.773 MB / 0.5084 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.1535, allocations: 0.6859 MB / 0.5091 GB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.041e-05/0.1536, allocations: 17 kB / 0.5091 GB, free: 3.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.1537, allocations: 47.5 kB / 0.5092 GB, free: 3.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.315e-06/0.1537, allocations: 0 / 0.5092 GB, free: 3.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=95): time 0.007104/0.1608, allocations: 3.51 MB / 0.5126 GB, free: 15.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.1608, allocations: 64.41 kB / 0.5127 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/0.1616, allocations: 0.6407 MB / 0.5133 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.1617, allocations: 41.7 kB / 0.5133 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.162, allocations: 456 kB / 0.5138 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.1624, allocations: 382.6 kB / 0.5141 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003897/0.1628, allocations: 218.9 kB / 0.5143 GB, free: 13.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1629, allocations: 414.7 kB / 0.5147 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.1642, allocations: 0.7444 MB / 0.5155 GB, free: 12.47 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.1655, allocations: 0.928 MB / 0.5164 GB, free: 11.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.1681, allocations: 1.723 MB / 0.5181 GB, free: 9.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1681, allocations: 4 kB / 0.5181 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004327/0.1724, allocations: 2.305 MB / 0.5203 GB, free: 7.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1724, allocations: 8 kB / 0.5203 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.1725, allocations: 4 kB / 0.5203 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001847/0.1743, allocations: 0.4932 MB / 0.5208 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.1759, allocations: 359.5 kB / 0.5211 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.1895, allocations: 17.59 MB / 0.5383 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.1907, allocations: 135 kB / 0.5385 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.1908, allocations: 40 kB / 0.5385 GB, free: 3.094 MB / 414.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.0006392/0.1914, allocations: 389.5 kB / 0.5389 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.1916, allocations: 86.97 kB / 0.5389 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.1953, allocations: 1.881 MB / 0.5408 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.1953, allocations: 8 kB / 0.5408 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.1953, allocations: 8 kB / 0.5408 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.1953, allocations: 3.984 kB / 0.5408 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.197, allocations: 1.489 MB / 0.5423 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.197, allocations: 0 / 0.5423 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.1988, allocations: 319.6 kB / 0.5426 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/0.2002, allocations: 433.1 kB / 0.543 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/0.2003, allocations: 63.97 kB / 0.543 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.2124, allocations: 16.7 MB / 0.5593 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.2124, allocations: 0 / 0.5593 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/0.2172, allocations: 2.533 MB / 0.5618 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.2176, allocations: 187.8 kB / 0.562 GB, free: 9.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.2178, allocations: 55.97 kB / 0.562 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000801/0.2186, allocations: 47.94 kB / 0.5621 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/0.2189, allocations: 96.73 kB / 0.5622 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/0.219, allocations: 20 kB / 0.5622 GB, free: 9.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000698/0.2197, allocations: 467 kB / 0.5627 GB, free: 8.605 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2197, allocations: 0 / 0.5627 GB, free: 8.605 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001831/0.2216, allocations: 471.1 kB / 0.5631 GB, free: 8.145 MB / 446.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.005017/0.2266, allocations: 3.14 MB / 0.5662 GB, free: 4.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00433/0.2309, allocations: 2.937 MB / 0.569 GB, free: 1.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.231, allocations: 1.062 kB / 0.569 GB, free: 1.863 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002515/0.2335, allocations: 2.019 MB / 0.571 GB, free: 15.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.2348, allocations: 292.5 kB / 0.5713 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/0.2594, allocations: 14.54 MB / 0.5855 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2396/0.499, allocations: 1.205 MB / 0.5867 GB, free: 98.76 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001493/0.5006, allocations: 357.5 kB / 0.587 GB, free: 98.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/0.5013, allocations: 416.5 kB / 0.5874 GB, free: 98.74 MB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5013, allocations: 0.8125 kB / 0.5874 GB, free: 98.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/0.6148, allocations: 32.11 MB / 0.6188 GB, free: 80.54 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.7, allocations: 11.81 kB / 0.6188 GB, free: 80.53 MB / 462.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)