Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",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.005153/0.005153, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001606/0.001606, allocations: 197.1 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2034/0.2034, allocations: 22.34 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003122/0.003123, allocations: 74.22 kB / 436.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1153, allocations: 54.97 MB / 491.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.005938/0.1213, allocations: 3.95 MB / 495.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002288/0.1236, allocations: 1.158 MB / 496.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003218/0.124, allocations: 11.94 kB / 496.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003534/0.1243, allocations: 146.7 kB / 496.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007307/0.1251, allocations: 385.8 kB / 497.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.1258, allocations: 267.6 kB / 497.4 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.1279, allocations: 1.947 MB / 499.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.1298, allocations: 1.452 MB / 0.4891 GB, free: 8.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000925/0.1307, allocations: 0.7366 MB / 0.4898 GB, free: 7.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.1319, allocations: 0.8726 MB / 0.4907 GB, free: 6.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.1322, allocations: 220 kB / 0.4909 GB, free: 6.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003774/0.1326, allocations: 216 kB / 0.4911 GB, free: 6.301 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006044/0.1332, allocations: 0.6352 MB / 0.4917 GB, free: 5.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009105/0.1341, allocations: 0.8289 MB / 0.4925 GB, free: 4.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.1364, allocations: 2.364 MB / 0.4948 GB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1364, allocations: 0 / 0.4948 GB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1365, allocations: 0 / 0.4948 GB, free: 2.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.1365, allocations: 4 kB / 0.4948 GB, free: 2.457 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004156/0.1406, allocations: 1.864 MB / 0.4967 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1407, allocations: 12.03 kB / 0.4967 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/0.1409, allocations: 164.5 kB / 0.4968 GB, free: 368 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.1412, allocations: 136.1 kB / 0.497 GB, free: 232 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.1424, allocations: 0.8099 MB / 0.4977 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.1425, allocations: 74.41 kB / 0.4978 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/0.1427, allocations: 116.3 kB / 0.4979 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.1453, allocations: 1.421 MB / 0.4993 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1453, allocations: 0 / 0.4993 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.1454, allocations: 44 kB / 0.4994 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.1455, allocations: 24 kB / 0.4994 GB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.1478, allocations: 1.253 MB / 0.5006 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008919/0.1567, allocations: 5.976 MB / 0.5064 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004494/0.1612, allocations: 1.76 MB / 0.5082 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001145/0.1624, allocations: 0.681 MB / 0.5088 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.033e-05/0.1624, allocations: 16.98 kB / 0.5088 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.1625, allocations: 43.5 kB / 0.5089 GB, free: 3.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=94): time 2.124e-06/0.1625, allocations: 4 kB / 0.5089 GB, free: 3.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=94): time 0.006656/0.1692, allocations: 3.29 MB / 0.5121 GB, free: 24 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1692, allocations: 60.41 kB / 0.5122 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/0.1701, allocations: 0.6085 MB / 0.5128 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.984e-05/0.1702, allocations: 41.7 kB / 0.5128 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.1705, allocations: 456.7 kB / 0.5132 GB, free: 14.83 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00038/0.1709, allocations: 396.7 kB / 0.5136 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004383/0.1714, allocations: 210.9 kB / 0.5138 GB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.1716, allocations: 410.7 kB / 0.5142 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.1729, allocations: 0.7366 MB / 0.5149 GB, free: 13.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.1743, allocations: 0.928 MB / 0.5158 GB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.1771, allocations: 1.712 MB / 0.5175 GB, free: 10.33 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1771, allocations: 1.859 kB / 0.5175 GB, free: 10.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004332/0.1814, allocations: 2.227 MB / 0.5197 GB, free: 8.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1814, allocations: 4 kB / 0.5197 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1815, allocations: 4 kB / 0.5197 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.183, allocations: 416.2 kB / 0.5201 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.1849, allocations: 395.5 kB / 0.5205 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.1989, allocations: 15.8 MB / 0.5359 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009249/0.1998, allocations: 131.2 kB / 0.536 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.1999, allocations: 43.98 kB / 0.536 GB, free: 5.801 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 (146): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006394/0.2006, allocations: 389.5 kB / 0.5364 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.2008, allocations: 87.42 kB / 0.5365 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003526/0.2043, allocations: 1.79 MB / 0.5382 GB, free: 3.496 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.2043, allocations: 8 kB / 0.5383 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2043, allocations: 4 kB / 0.5383 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.2043, allocations: 7.969 kB / 0.5383 GB, free: 3.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.2062, allocations: 1.477 MB / 0.5397 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2062, allocations: 0 / 0.5397 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002144/0.2084, allocations: 359.6 kB / 0.5401 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.2094, allocations: 340.2 kB / 0.5404 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.2096, allocations: 59.95 kB / 0.5404 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.2217, allocations: 14.9 MB / 0.555 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2218, allocations: 3.984 kB / 0.555 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/0.2261, allocations: 2.443 MB / 0.5574 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.2264, allocations: 188.3 kB / 0.5576 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.2266, allocations: 59.97 kB / 0.5576 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.2273, allocations: 47.94 kB / 0.5577 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002337/0.2275, allocations: 84.8 kB / 0.5577 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.2276, allocations: 28 kB / 0.5578 GB, free: 13.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005698/0.2282, allocations: 430.8 kB / 0.5582 GB, free: 13.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.2282, allocations: 0 / 0.5582 GB, free: 13.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001163/0.2294, allocations: 455.3 kB / 0.5586 GB, free: 13.09 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 (86): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004774/0.2341, allocations: 3.046 MB / 0.5616 GB, free: 9.996 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.2381, allocations: 2.759 MB / 0.5643 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2381, allocations: 0 / 0.5643 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.2404, allocations: 1.868 MB / 0.5661 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.2415, allocations: 285.4 kB / 0.5664 GB, free: 4.832 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/0.2651, allocations: 14.42 MB / 0.5805 GB, free: 6.109 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009552/0.2661, allocations: 1.194 MB / 0.5816 GB, free: 4.887 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009634/0.267, allocations: 358.9 kB / 0.582 GB, free: 4.531 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007103/0.2678, allocations: 407.3 kB / 0.5824 GB, free: 4.133 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2678, allocations: 0 / 0.5824 GB, free: 4.133 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9592/1.227, allocations: 30.58 MB / 0.6122 GB, free: 89.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.57, allocations: 17.8 kB / 0.6122 GB, free: 89.56 MB / 462.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_004_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)