Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",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.00487/0.00487, allocations: 103.7 kB / 15.74 MB, free: 6.008 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.00114/0.00114, allocations: 187 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.187/0.187, allocations: 22.35 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 62.34 kB / 436.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.07979, allocations: 54.97 MB / 491.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.00389/0.08371, allocations: 3.388 MB / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.08568, allocations: 0.9274 MB / 495.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003248/0.08603, allocations: 7.938 kB / 495.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.08632, allocations: 99.16 kB / 496 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.08692, allocations: 246.5 kB / 496.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.08744, allocations: 187.6 kB / 496.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.08856, allocations: 1.151 MB / 497.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009665/0.08954, allocations: 0.7991 MB / 498.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.09006, allocations: 454.8 kB / 498.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.09066, allocations: 0.5257 MB / 499.3 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.09081, allocations: 124 kB / 499.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.09097, allocations: 124 kB / 499.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.09125, allocations: 351.2 kB / 499.9 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004499/0.0917, allocations: 0.4941 MB / 0.4887 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.09273, allocations: 1.364 MB / 0.49 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09274, allocations: 0 / 0.49 GB, free: 7.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09275, allocations: 0 / 0.49 GB, free: 7.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.09277, allocations: 0 / 0.49 GB, free: 7.449 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002364/0.09514, allocations: 1.228 MB / 0.4912 GB, free: 6.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.09518, allocations: 12.03 kB / 0.4912 GB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.09532, allocations: 110.7 kB / 0.4913 GB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.09551, allocations: 83.91 kB / 0.4914 GB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/0.09628, allocations: 0.5419 MB / 0.4919 GB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.09636, allocations: 79.58 kB / 0.492 GB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.09651, allocations: 76.28 kB / 0.4921 GB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.09782, allocations: 0.8224 MB / 0.4929 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.09785, allocations: 4 kB / 0.4929 GB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.62e-05/0.09793, allocations: 27.98 kB / 0.4929 GB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.09795, allocations: 16 kB / 0.4929 GB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.09915, allocations: 0.7273 MB / 0.4936 GB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00499/0.1041, allocations: 3.72 MB / 0.4973 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.1064, allocations: 0.915 MB / 0.4981 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.1069, allocations: 370.4 kB / 0.4985 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.107, allocations: 12.55 kB / 0.4985 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.107, allocations: 35.12 kB / 0.4985 GB, free: 14.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 1.994e-06/0.107, allocations: 0 / 0.4985 GB, free: 14.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.003266/0.1103, allocations: 1.724 MB / 0.5002 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.1104, allocations: 55.97 kB / 0.5003 GB, free: 12.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.1109, allocations: 481.8 kB / 0.5007 GB, free: 11.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.564e-05/0.1109, allocations: 33.7 kB / 0.5008 GB, free: 11.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.1112, allocations: 343.5 kB / 0.5011 GB, free: 11.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.1113, allocations: 224.8 kB / 0.5013 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.1116, allocations: 146.6 kB / 0.5015 GB, free: 11.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1118, allocations: 374.7 kB / 0.5018 GB, free: 10.76 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006884/0.1124, allocations: 456.6 kB / 0.5023 GB, free: 10.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/0.1132, allocations: 0.588 MB / 0.5028 GB, free: 9.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007052/0.1203, allocations: 2.401 MB / 0.5052 GB, free: 7.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1203, allocations: 4 kB / 0.5052 GB, free: 7.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002289/0.1226, allocations: 1.286 MB / 0.5064 GB, free: 5.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1226, allocations: 8.125 kB / 0.5064 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1226, allocations: 8 kB / 0.5064 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.1234, allocations: 208.1 kB / 0.5066 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.1247, allocations: 259.7 kB / 0.5069 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00574/0.1304, allocations: 7.899 MB / 0.5146 GB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006105/0.1311, allocations: 91.23 kB / 0.5147 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.1311, allocations: 28 kB / 0.5147 GB, free: 12.62 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004581/0.1316, allocations: 292.7 kB / 0.515 GB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.1317, allocations: 59.22 kB / 0.5151 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/0.1335, allocations: 0.9712 MB / 0.516 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1335, allocations: 7.938 kB / 0.516 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1335, allocations: 3.984 kB / 0.516 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1335, allocations: 4 kB / 0.516 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009974/0.1345, allocations: 0.8954 MB / 0.5169 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1345, allocations: 0 / 0.5169 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/0.136, allocations: 215.9 kB / 0.5171 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005185/0.1365, allocations: 176.1 kB / 0.5173 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/0.1366, allocations: 31.98 kB / 0.5173 GB, free: 9.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/0.1414, allocations: 7.452 MB / 0.5246 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1414, allocations: 0 / 0.5246 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.1436, allocations: 1.367 MB / 0.5259 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.1438, allocations: 144.3 kB / 0.526 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.1439, allocations: 32.17 kB / 0.5261 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.1443, allocations: 27.91 kB / 0.5261 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.1445, allocations: 48.48 kB / 0.5262 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.1445, allocations: 16 kB / 0.5262 GB, free: 56 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003979/0.1449, allocations: 331.1 kB / 0.5265 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1449, allocations: 4 kB / 0.5265 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008033/0.1458, allocations: 259.5 kB / 0.5267 GB, free: 15.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (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],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002541/0.1483, allocations: 1.942 MB / 0.5286 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001979/0.1503, allocations: 1.474 MB / 0.5301 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1503, allocations: 0 / 0.5301 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.1514, allocations: 0.9544 MB / 0.531 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.1521, allocations: 180.3 kB / 0.5312 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.1645, allocations: 8.635 MB / 0.5396 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.1651, allocations: 0.9694 MB / 0.5406 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005736/0.1657, allocations: 216.9 kB / 0.5408 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003891/0.1661, allocations: 247.4 kB / 0.541 GB, free: 432 kB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1661, allocations: 7.938 kB / 0.541 GB, free: 424 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07943/0.2455, allocations: 18.51 MB / 0.5591 GB, free: 14.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.3, allocations: 8.625 kB / 0.5591 GB, free: 14.11 MB / 446.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_003_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)