Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",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.004741/0.004741, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001271/0.001271, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.397/1.397, 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.1027/0.1027, allocations: 22.34 MB / 312.9 MB, free: 8.84 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002816/0.002816, allocations: 67.89 kB / 436.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1066, allocations: 54.97 MB / 491.5 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.00336/0.11, allocations: 2.416 MB / 493.9 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1112, allocations: 0.737 MB / 494.7 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.735e-05/0.1113, allocations: 4 kB / 494.7 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.1115, allocations: 51.5 kB / 494.7 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1117, allocations: 131 kB / 494.9 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1121, allocations: 143.8 kB / 495 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005794/0.1127, allocations: 0.5697 MB / 495.6 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.1131, allocations: 313 kB / 495.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.1134, allocations: 255.3 kB / 496.1 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.1139, allocations: 355 kB / 496.5 MB, free: 244 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.922e-05/0.114, allocations: 56 kB / 496.5 MB, free: 188 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1141, allocations: 60 kB / 496.6 MB, free: 128 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.1143, allocations: 183.5 kB / 496.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.1146, allocations: 266.9 kB / 497 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008427/0.1154, allocations: 0.6267 MB / 497.6 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1154, allocations: 8 kB / 497.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1155, allocations: 0 / 497.7 MB, free: 15.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1155, allocations: 0 / 497.7 MB, free: 15.05 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001956/0.1174, allocations: 0.8102 MB / 498.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1175, allocations: 12.03 kB / 498.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.565e-05/0.1176, allocations: 66.72 kB / 498.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.1177, allocations: 48.66 kB / 498.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004559/0.1182, allocations: 351.5 kB / 498.9 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.1182, allocations: 25.02 kB / 499 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-05/0.1183, allocations: 36.38 kB / 499 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008886/0.1192, allocations: 485.9 kB / 499.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1192, allocations: 3.938 kB / 499.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.1193, allocations: 16 kB / 499.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1193, allocations: 8 kB / 499.5 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1203, allocations: 0.5218 MB / 0.4883 GB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.1229, allocations: 1.307 MB / 0.4896 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007329/0.1237, allocations: 395.9 kB / 0.4899 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000477/0.1242, allocations: 244.6 kB / 0.4902 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.1242, allocations: 7.984 kB / 0.4902 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.1243, allocations: 42.5 kB / 0.4902 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002323/0.1245, allocations: 55.72 kB / 0.4903 GB, free: 10.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 3.757e-06/0.1245, allocations: 0 / 0.4903 GB, free: 10.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.00137/0.1259, allocations: 0.6611 MB / 0.4909 GB, free: 9.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.1259, allocations: 55.41 kB / 0.491 GB, free: 9.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.1264, allocations: 356.5 kB / 0.4913 GB, free: 9.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.1264, allocations: 29.7 kB / 0.4914 GB, free: 9.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.1266, allocations: 220.4 kB / 0.4916 GB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1267, allocations: 158.6 kB / 0.4917 GB, free: 8.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.1269, allocations: 110.2 kB / 0.4918 GB, free: 8.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1271, allocations: 346.8 kB / 0.4921 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.1275, allocations: 240.9 kB / 0.4924 GB, free: 8.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005382/0.1281, allocations: 353.2 kB / 0.4927 GB, free: 7.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009875/0.1291, allocations: 0.5818 MB / 0.4933 GB, free: 7.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1291, allocations: 4 kB / 0.4933 GB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00126/0.1304, allocations: 0.6859 MB / 0.494 GB, free: 6.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1304, allocations: 11.98 kB / 0.494 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1304, allocations: 4 kB / 0.494 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1304, allocations: 4 kB / 0.494 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.132, allocations: 280 kB / 0.4942 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.1344, allocations: 2.861 MB / 0.497 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.1349, allocations: 19.98 kB / 0.4971 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.796e-05/0.135, allocations: 23.98 kB / 0.4971 GB, free: 3.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.1352, allocations: 178.6 kB / 0.4972 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.1353, allocations: 43.7 kB / 0.4973 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.1365, allocations: 0.5823 MB / 0.4979 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.1365, allocations: 8 kB / 0.4979 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1365, allocations: 4 kB / 0.4979 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.1365, allocations: 3.984 kB / 0.4979 GB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.1383, allocations: 1.17 MB / 0.499 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1384, allocations: 0 / 0.499 GB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.1397, allocations: 231.7 kB / 0.4992 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1398, allocations: 0 / 0.4992 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.764e-05/0.1398, allocations: 19.98 kB / 0.4993 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1841/0.3239, allocations: 2.837 MB / 0.502 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.324, allocations: 2.188 kB / 0.502 GB, free: 19.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3253, allocations: 0.8761 MB / 0.5029 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.3253, allocations: 118.2 kB / 0.503 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.3254, allocations: 17.3 kB / 0.503 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.3258, allocations: 18.33 kB / 0.503 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3259, allocations: 41.92 kB / 0.5031 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.3259, allocations: 13.16 kB / 0.5031 GB, free: 19.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.3262, allocations: 245.6 kB / 0.5033 GB, free: 19.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3262, allocations: 0 / 0.5033 GB, free: 19.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005096/0.3267, allocations: 152.2 kB / 0.5035 GB, free: 19.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.T[5]) * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001416/0.3281, allocations: 1.421 MB / 0.5049 GB, free: 18.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.3295, allocations: 0.6159 MB / 0.5055 GB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3295, allocations: 0 / 0.5055 GB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007773/0.3303, allocations: 309.1 kB / 0.5057 GB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.3308, allocations: 93.7 kB / 0.5058 GB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007047/0.3378, allocations: 5.323 MB / 0.511 GB, free: 16.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3381, allocations: 0.8232 MB / 0.5118 GB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003795/0.3385, allocations: 122.6 kB / 0.512 GB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.3388, allocations: 145.9 kB / 0.5121 GB, free: 15.77 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3388, allocations: 0 / 0.5121 GB, free: 15.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08071/0.4195, allocations: 11.59 MB / 0.5234 GB, free: 12.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.62, allocations: 12.19 kB / 0.5234 GB, free: 12.8 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_006_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1)