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.007569/0.007569, allocations: 98.66 kB / 15.73 MB, free: 5.547 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.001697/0.001697, allocations: 188.9 kB / 16.67 MB, free: 5.492 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1941/0.1941, allocations: 22.35 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 66.02 kB / 436.6 MB, free: 34.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09636, allocations: 54.96 MB / 491.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.003595/0.09999, allocations: 3.104 MB / 494.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.1016, allocations: 0.8887 MB / 495.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002452/0.1019, allocations: 7.938 kB / 495.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.1021, allocations: 87.23 kB / 495.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.1026, allocations: 218.6 kB / 495.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004411/0.103, allocations: 171.7 kB / 496 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009978/0.104, allocations: 1.084 MB / 497.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008782/0.1049, allocations: 0.7785 MB / 497.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004879/0.1054, allocations: 430.9 kB / 498.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.1061, allocations: 498.5 kB / 498.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.1062, allocations: 116 kB / 498.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1064, allocations: 120 kB / 499 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002753/0.1067, allocations: 339.2 kB / 499.3 MB, free: 9.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000508/0.1072, allocations: 482 kB / 499.8 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009857/0.1082, allocations: 1.294 MB / 0.4894 GB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1082, allocations: 0 / 0.4894 GB, free: 8.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1082, allocations: 0 / 0.4894 GB, free: 8.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.1083, allocations: 0 / 0.4894 GB, free: 8.086 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.002564/0.1108, allocations: 1.183 MB / 0.4905 GB, free: 6.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.1109, allocations: 15.97 kB / 0.4905 GB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001574/0.111, allocations: 98.7 kB / 0.4906 GB, free: 6.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.1112, allocations: 76.09 kB / 0.4907 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007147/0.1119, allocations: 0.5226 MB / 0.4912 GB, free: 6.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.216e-05/0.112, allocations: 41.69 kB / 0.4913 GB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.1121, allocations: 72.27 kB / 0.4913 GB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.1134, allocations: 0.7757 MB / 0.4921 GB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1134, allocations: 0 / 0.4921 GB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.1135, allocations: 24 kB / 0.4921 GB, free: 5.176 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.1135, allocations: 12 kB / 0.4921 GB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1146, allocations: 0.6806 MB / 0.4928 GB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004834/0.1194, allocations: 3.557 MB / 0.4963 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.1216, allocations: 0.8769 MB / 0.4971 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.1222, allocations: 366 kB / 0.4975 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.1222, allocations: 4.438 kB / 0.4975 GB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.1223, allocations: 43 kB / 0.4975 GB, free: 15.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.924e-06/0.1223, allocations: 0 / 0.4975 GB, free: 15.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=51): time 0.003906/0.1262, allocations: 1.873 MB / 0.4993 GB, free: 13.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1262, allocations: 59.83 kB / 0.4994 GB, free: 13.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.1268, allocations: 465.9 kB / 0.4998 GB, free: 12.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.1269, allocations: 41.7 kB / 0.4999 GB, free: 12.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.1271, allocations: 323.9 kB / 0.5002 GB, free: 12.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.1272, allocations: 205.2 kB / 0.5004 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.1275, allocations: 134.6 kB / 0.5005 GB, free: 12.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1276, allocations: 370.8 kB / 0.5009 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.1282, allocations: 402.8 kB / 0.5012 GB, free: 11.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.1289, allocations: 0.562 MB / 0.5018 GB, free: 10.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.1303, allocations: 0.9814 MB / 0.5028 GB, free: 9.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.1303, allocations: 3.938 kB / 0.5028 GB, free: 9.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002447/0.1328, allocations: 1.294 MB / 0.504 GB, free: 8.344 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1328, allocations: 8 kB / 0.504 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1328, allocations: 7.984 kB / 0.504 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.1339, allocations: 268.9 kB / 0.5043 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/0.1348, allocations: 211.7 kB / 0.5045 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007089/0.1419, allocations: 9.489 MB / 0.5138 GB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/0.1426, allocations: 83.25 kB / 0.5138 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/0.1427, allocations: 24 kB / 0.5139 GB, free: 13.37 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.0003656/0.143, allocations: 269.6 kB / 0.5141 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.1432, allocations: 51.34 kB / 0.5142 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.1451, allocations: 0.9992 MB / 0.5151 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1451, allocations: 4.094 kB / 0.5151 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.1451, allocations: 7.984 kB / 0.5152 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1451, allocations: 11.92 kB / 0.5152 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009584/0.1461, allocations: 0.8486 MB / 0.516 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1461, allocations: 4 kB / 0.516 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009806/0.1471, allocations: 171.8 kB / 0.5162 GB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/0.1478, allocations: 220.9 kB / 0.5164 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/0.1479, allocations: 27.98 kB / 0.5164 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006186/0.1541, allocations: 9.022 MB / 0.5252 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1541, allocations: 0 / 0.5252 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.1564, allocations: 1.379 MB / 0.5266 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.1565, allocations: 140.3 kB / 0.5267 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.1566, allocations: 31.98 kB / 0.5267 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004458/0.1571, allocations: 27.97 kB / 0.5267 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.1572, allocations: 52.36 kB / 0.5268 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.1573, allocations: 8 kB / 0.5268 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.1576, allocations: 331.1 kB / 0.5271 GB, free: 14.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1576, allocations: 7.875 kB / 0.5271 GB, free: 14.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007923/0.1584, allocations: 259.5 kB / 0.5274 GB, free: 14.53 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.002585/0.161, allocations: 1.942 MB / 0.5293 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002155/0.1632, allocations: 1.577 MB / 0.5308 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1632, allocations: 3.938 kB / 0.5308 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.1644, allocations: 1.073 MB / 0.5319 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.1651, allocations: 175.9 kB / 0.532 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.177, allocations: 8.367 MB / 0.5402 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.1776, allocations: 0.9653 MB / 0.5411 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005331/0.1781, allocations: 208.7 kB / 0.5413 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.1785, allocations: 235.3 kB / 0.5416 GB, free: 15.54 MB / 430.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1785, allocations: 0 / 0.5416 GB, free: 15.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05607/0.2346, allocations: 19.13 MB / 0.5603 GB, free: 12.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.35, allocations: 11.92 kB / 0.5603 GB, free: 12.61 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)