Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",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.007185/0.007185, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00188/0.001881, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1833/0.1833, allocations: 22.36 MB / 312.9 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 72.89 kB / 436.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08629/0.08826, allocations: 54.96 MB / 491.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003396/0.0917, allocations: 3.114 MB / 494.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.09305, allocations: 0.8771 MB / 495.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.09321, allocations: 15.88 kB / 495.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.09344, allocations: 87.22 kB / 495.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.09385, allocations: 218.6 kB / 495.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.0943, allocations: 175.7 kB / 496 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009047/0.09522, allocations: 1.088 MB / 497.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007714/0.096, allocations: 0.7746 MB / 497.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003742/0.09638, allocations: 415 kB / 498.3 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005532/0.09695, allocations: 0.4985 MB / 498.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.09709, allocations: 116 kB / 498.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.09724, allocations: 120 kB / 499 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.09751, allocations: 343.2 kB / 499.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.09793, allocations: 478.1 kB / 499.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009696/0.09891, allocations: 1.286 MB / 0.4894 GB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.09892, allocations: 0 / 0.4894 GB, free: 8.078 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09893, allocations: 0 / 0.4894 GB, free: 8.078 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.09894, allocations: 4 kB / 0.4894 GB, free: 8.074 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002253/0.1012, allocations: 1.181 MB / 0.4905 GB, free: 6.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1012, allocations: 12.02 kB / 0.4905 GB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000131/0.1014, allocations: 102.7 kB / 0.4906 GB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.1015, allocations: 80.09 kB / 0.4907 GB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.1023, allocations: 0.5148 MB / 0.4912 GB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.1023, allocations: 45.69 kB / 0.4913 GB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.1024, allocations: 64.28 kB / 0.4913 GB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.1036, allocations: 0.7795 MB / 0.4921 GB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1037, allocations: 3.984 kB / 0.4921 GB, free: 5.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/0.1037, allocations: 27.94 kB / 0.4921 GB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1038, allocations: 16 kB / 0.4921 GB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.1048, allocations: 0.6806 MB / 0.4928 GB, free: 4.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.1093, allocations: 3.549 MB / 0.4963 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.1114, allocations: 0.8875 MB / 0.4971 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.112, allocations: 354 kB / 0.4975 GB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.112, allocations: 4.438 kB / 0.4975 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.112, allocations: 46.92 kB / 0.4975 GB, free: 15.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.733e-06/0.1121, allocations: 0 / 0.4975 GB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.003895/0.116, allocations: 1.877 MB / 0.4993 GB, free: 13.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.116, allocations: 59.84 kB / 0.4994 GB, free: 13.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/0.1165, allocations: 469.8 kB / 0.4999 GB, free: 12.79 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.1166, allocations: 37.7 kB / 0.4999 GB, free: 12.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1168, allocations: 319.8 kB / 0.5002 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.1169, allocations: 205.2 kB / 0.5004 GB, free: 12.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.1172, allocations: 138.6 kB / 0.5005 GB, free: 12.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1173, allocations: 366.8 kB / 0.5009 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.118, allocations: 405.8 kB / 0.5013 GB, free: 11.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000732/0.1187, allocations: 0.5543 MB / 0.5018 GB, free: 10.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.1201, allocations: 0.9891 MB / 0.5028 GB, free: 9.648 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1201, allocations: 0.9844 kB / 0.5028 GB, free: 9.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002432/0.1226, allocations: 1.29 MB / 0.504 GB, free: 8.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.1226, allocations: 8 kB / 0.504 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1226, allocations: 7.984 kB / 0.504 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.1237, allocations: 268.9 kB / 0.5043 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/0.1246, allocations: 203.8 kB / 0.5045 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/0.1319, allocations: 9.489 MB / 0.5138 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005839/0.1325, allocations: 87.23 kB / 0.5138 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.1325, allocations: 24 kB / 0.5139 GB, free: 13.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003371/0.1329, allocations: 269.6 kB / 0.5141 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.133, allocations: 55.34 kB / 0.5142 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.1349, allocations: 0.9992 MB / 0.5152 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1349, allocations: 4 kB / 0.5152 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1349, allocations: 8 kB / 0.5152 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.135, allocations: 0 / 0.5152 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009385/0.1359, allocations: 0.8525 MB / 0.516 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1359, allocations: 3.938 kB / 0.516 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009777/0.1369, allocations: 171.8 kB / 0.5162 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007547/0.1377, allocations: 232.9 kB / 0.5164 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/0.1377, allocations: 31.98 kB / 0.5164 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006469/0.1442, allocations: 9.026 MB / 0.5252 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1442, allocations: 0 / 0.5252 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/0.1466, allocations: 1.368 MB / 0.5266 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.1468, allocations: 152.3 kB / 0.5267 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.1469, allocations: 27.98 kB / 0.5267 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004189/0.1473, allocations: 27.97 kB / 0.5268 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.1475, allocations: 44.38 kB / 0.5268 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.1475, allocations: 15.98 kB / 0.5268 GB, free: 15.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003585/0.1479, allocations: 331.1 kB / 0.5271 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1479, allocations: 0 / 0.5271 GB, free: 14.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007935/0.1487, allocations: 255.5 kB / 0.5274 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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]) * 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 (46): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00262/0.1513, allocations: 1.947 MB / 0.5293 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.1535, allocations: 1.584 MB / 0.5308 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1535, allocations: 0 / 0.5308 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.1548, allocations: 1.082 MB / 0.5319 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.1555, allocations: 173.7 kB / 0.5321 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.1679, allocations: 8.354 MB / 0.5402 GB, free: 0.957 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/0.1686, allocations: 0.9614 MB / 0.5411 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005466/0.1691, allocations: 204.7 kB / 0.5413 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003641/0.1695, allocations: 231.4 kB / 0.5416 GB, free: 15.54 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1695, allocations: 0 / 0.5416 GB, free: 15.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.953/1.123, allocations: 18.8 MB / 0.5599 GB, free: 12.96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.78, allocations: 18.19 kB / 0.5599 GB, free: 12.94 MB / 446.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_002_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1)