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.007223/0.007223, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.0014/0.0014, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2306/0.2306, allocations: 22.36 MB / 312.9 MB, free: 12.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 70.91 kB / 436.6 MB, free: 34.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.1006, allocations: 54.97 MB / 491.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.004306/0.1049, allocations: 3.951 MB / 495.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.1072, allocations: 1.158 MB / 496.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002805/0.1075, allocations: 15.88 kB / 496.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.1078, allocations: 142.8 kB / 496.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.1084, allocations: 381.8 kB / 497.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00065/0.1091, allocations: 275.6 kB / 497.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001664/0.1107, allocations: 1.95 MB / 499.4 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.1121, allocations: 1.437 MB / 0.4891 GB, free: 8.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007042/0.1129, allocations: 0.7443 MB / 0.4898 GB, free: 7.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.114, allocations: 0.8842 MB / 0.4907 GB, free: 6.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002466/0.1143, allocations: 212 kB / 0.4909 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.1145, allocations: 220 kB / 0.4911 GB, free: 6.293 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004869/0.115, allocations: 0.6275 MB / 0.4917 GB, free: 5.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007331/0.1158, allocations: 0.8212 MB / 0.4925 GB, free: 4.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.1176, allocations: 2.365 MB / 0.4948 GB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1176, allocations: 0 / 0.4948 GB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1176, allocations: 0 / 0.4948 GB, free: 2.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.494e-05/0.1176, allocations: 3.938 kB / 0.4948 GB, free: 2.465 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.004389/0.122, allocations: 1.839 MB / 0.4966 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1221, allocations: 12.03 kB / 0.4966 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.1223, allocations: 164.6 kB / 0.4968 GB, free: 400 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.1226, allocations: 135.4 kB / 0.4969 GB, free: 264 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.1238, allocations: 0.7978 MB / 0.4977 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.1239, allocations: 74.41 kB / 0.4978 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.1241, allocations: 116.2 kB / 0.4979 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.1265, allocations: 1.425 MB / 0.4993 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1265, allocations: 0 / 0.4993 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/0.1266, allocations: 44 kB / 0.4993 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.1267, allocations: 24 kB / 0.4993 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.1287, allocations: 1.257 MB / 0.5006 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008344/0.137, allocations: 5.952 MB / 0.5064 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.141, allocations: 1.764 MB / 0.5081 GB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000989/0.142, allocations: 0.6832 MB / 0.5088 GB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.423e-05/0.1421, allocations: 12.98 kB / 0.5088 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.1422, allocations: 55.44 kB / 0.5088 GB, free: 3.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=94): time 2.735e-06/0.1422, allocations: 0 / 0.5088 GB, free: 3.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=94): time 0.005833/0.148, allocations: 3.278 MB / 0.512 GB, free: 84 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.1481, allocations: 60.41 kB / 0.5121 GB, free: 8 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009102/0.149, allocations: 0.6046 MB / 0.5127 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/0.1491, allocations: 41.69 kB / 0.5127 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/0.1494, allocations: 447.5 kB / 0.5132 GB, free: 14.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.1498, allocations: 378.7 kB / 0.5135 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.1502, allocations: 222.9 kB / 0.5137 GB, free: 14.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1504, allocations: 400.6 kB / 0.5141 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.1515, allocations: 0.7366 MB / 0.5148 GB, free: 13.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.1527, allocations: 0.928 MB / 0.5157 GB, free: 12.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.1552, allocations: 1.715 MB / 0.5174 GB, free: 10.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1552, allocations: 0 / 0.5174 GB, free: 10.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003941/0.1592, allocations: 2.222 MB / 0.5196 GB, free: 8.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1592, allocations: 4 kB / 0.5196 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.1592, allocations: 4 kB / 0.5196 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.1607, allocations: 420.2 kB / 0.52 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.1625, allocations: 391.5 kB / 0.5204 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.1756, allocations: 15.79 MB / 0.5358 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.1769, allocations: 130.8 kB / 0.5359 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.177, allocations: 43.98 kB / 0.536 GB, free: 5.895 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.0006872/0.1777, allocations: 389.6 kB / 0.5363 GB, free: 5.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.1779, allocations: 82.94 kB / 0.5364 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/0.181, allocations: 1.79 MB / 0.5381 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.181, allocations: 11.94 kB / 0.5382 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.181, allocations: 7.938 kB / 0.5382 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.181, allocations: 3.984 kB / 0.5382 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.1829, allocations: 1.461 MB / 0.5396 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1829, allocations: 0 / 0.5396 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/0.1849, allocations: 351.6 kB / 0.5399 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.1859, allocations: 348.2 kB / 0.5403 GB, free: 1.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001259/0.1861, allocations: 55.97 kB / 0.5403 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/0.1963, allocations: 14.91 MB / 0.5549 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1964, allocations: 0 / 0.5549 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.2006, allocations: 2.447 MB / 0.5573 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.2009, allocations: 176 kB / 0.5574 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.2011, allocations: 55.97 kB / 0.5575 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.2018, allocations: 47.94 kB / 0.5575 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.202, allocations: 80.81 kB / 0.5576 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.2021, allocations: 31.98 kB / 0.5576 GB, free: 14.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005546/0.2027, allocations: 430.8 kB / 0.5581 GB, free: 13.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2027, allocations: 4 kB / 0.5581 GB, free: 13.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001307/0.204, allocations: 443.1 kB / 0.5585 GB, free: 13.22 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.004182/0.2082, allocations: 3.054 MB / 0.5615 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003612/0.2118, allocations: 2.763 MB / 0.5642 GB, free: 7.219 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2119, allocations: 4.125 kB / 0.5642 GB, free: 7.215 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.2139, allocations: 1.86 MB / 0.566 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.2151, allocations: 273.1 kB / 0.5662 GB, free: 4.961 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/0.2367, allocations: 14.36 MB / 0.5803 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009334/0.2377, allocations: 1.186 MB / 0.5814 GB, free: 5.086 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009961/0.2387, allocations: 362.9 kB / 0.5818 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/0.2394, allocations: 411.2 kB / 0.5822 GB, free: 4.324 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2394, allocations: 0 / 0.5822 GB, free: 4.324 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/0.5155, allocations: 31.08 MB / 0.6125 GB, free: 89.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.58, allocations: 10.69 kB / 0.6125 GB, free: 89.29 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)