Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",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.006219/0.006218, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001146/0.001146, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.322/1.322, 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.234/0.234, allocations: 22.36 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 63.91 kB / 436.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1072, allocations: 54.97 MB / 491.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004841/0.1121, allocations: 4.015 MB / 495.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1147, allocations: 1.181 MB / 496.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004599/0.1151, allocations: 11.94 kB / 496.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.1156, allocations: 146.7 kB / 496.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009293/0.1165, allocations: 393.7 kB / 497.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.1174, allocations: 279.5 kB / 497.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.1194, allocations: 1.982 MB / 499.6 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.1212, allocations: 1.46 MB / 0.4893 GB, free: 8.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.1224, allocations: 0.7521 MB / 0.49 GB, free: 7.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.1239, allocations: 0.8881 MB / 0.4909 GB, free: 6.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005328/0.1244, allocations: 220 kB / 0.4911 GB, free: 6.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.1249, allocations: 216 kB / 0.4913 GB, free: 6.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007462/0.1257, allocations: 0.6392 MB / 0.4919 GB, free: 5.453 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.1268, allocations: 0.8406 MB / 0.4927 GB, free: 4.609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.1287, allocations: 2.385 MB / 0.4951 GB, free: 2.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1287, allocations: 0 / 0.4951 GB, free: 2.219 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1287, allocations: 8 kB / 0.4951 GB, free: 2.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.1287, allocations: 0 / 0.4951 GB, free: 2.211 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003759/0.1325, allocations: 1.882 MB / 0.4969 GB, free: 280 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1326, allocations: 11.97 kB / 0.4969 GB, free: 268 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.1328, allocations: 160.6 kB / 0.4971 GB, free: 100 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.133, allocations: 131.5 kB / 0.4972 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.1341, allocations: 0.8133 MB / 0.498 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.1342, allocations: 74.41 kB / 0.4981 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.1344, allocations: 124.3 kB / 0.4982 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/0.1365, allocations: 1.437 MB / 0.4996 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.1366, allocations: 0 / 0.4996 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.1367, allocations: 40 kB / 0.4996 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.1367, allocations: 28 kB / 0.4996 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.1387, allocations: 1.269 MB / 0.5009 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007866/0.1465, allocations: 5.987 MB / 0.5067 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004029/0.1506, allocations: 1.773 MB / 0.5085 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.1516, allocations: 0.6883 MB / 0.5091 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.524e-05/0.1517, allocations: 16.98 kB / 0.5092 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.1517, allocations: 47.5 kB / 0.5092 GB, free: 3.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.765e-06/0.1517, allocations: 0 / 0.5092 GB, free: 3.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=95): time 0.006982/0.1587, allocations: 3.503 MB / 0.5126 GB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.1588, allocations: 64.41 kB / 0.5127 GB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.16, allocations: 0.6413 MB / 0.5133 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.1601, allocations: 41.7 kB / 0.5133 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.1605, allocations: 459.5 kB / 0.5138 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005188/0.1611, allocations: 394.5 kB / 0.5142 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.1616, allocations: 214.9 kB / 0.5144 GB, free: 13.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.1618, allocations: 414.6 kB / 0.5148 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.163, allocations: 0.7405 MB / 0.5155 GB, free: 12.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.1644, allocations: 0.9281 MB / 0.5164 GB, free: 11.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/0.167, allocations: 1.723 MB / 0.5181 GB, free: 9.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.167, allocations: 8 kB / 0.5181 GB, free: 9.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004589/0.1716, allocations: 2.301 MB / 0.5203 GB, free: 7.344 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1716, allocations: 8 kB / 0.5203 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.1716, allocations: 8.031 kB / 0.5203 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/0.1736, allocations: 0.497 MB / 0.5208 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.1752, allocations: 351.6 kB / 0.5212 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.1901, allocations: 17.59 MB / 0.5383 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.1913, allocations: 130.8 kB / 0.5385 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002629/0.1916, allocations: 44 kB / 0.5385 GB, free: 3.086 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * 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): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009739/0.1926, allocations: 389.5 kB / 0.5389 GB, free: 2.695 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.1929, allocations: 90.97 kB / 0.539 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.1967, allocations: 1.877 MB / 0.5408 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.1967, allocations: 8 kB / 0.5408 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.1967, allocations: 4 kB / 0.5408 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.1968, allocations: 3.984 kB / 0.5408 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1989, allocations: 1.489 MB / 0.5423 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.1989, allocations: 4 kB / 0.5423 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/0.2008, allocations: 323.7 kB / 0.5426 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.2022, allocations: 433.1 kB / 0.543 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000156/0.2023, allocations: 55.97 kB / 0.543 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/0.2151, allocations: 16.7 MB / 0.5593 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2152, allocations: 0 / 0.5593 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004838/0.22, allocations: 2.537 MB / 0.5618 GB, free: 9.473 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.2204, allocations: 187.8 kB / 0.562 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.2206, allocations: 59.97 kB / 0.5621 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/0.2214, allocations: 51.88 kB / 0.5621 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/0.2217, allocations: 96.78 kB / 0.5622 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.2218, allocations: 28 kB / 0.5622 GB, free: 9.035 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005972/0.2224, allocations: 459 kB / 0.5627 GB, free: 8.594 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-07/0.2224, allocations: 0 / 0.5627 GB, free: 8.594 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0015/0.2239, allocations: 471.1 kB / 0.5631 GB, free: 8.133 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 (84): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005105/0.229, allocations: 3.149 MB / 0.5662 GB, free: 4.926 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004366/0.2334, allocations: 2.933 MB / 0.5691 GB, free: 1.848 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2334, allocations: 0 / 0.5691 GB, free: 1.848 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.2359, allocations: 2.015 MB / 0.571 GB, free: 15.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.2373, allocations: 286.6 kB / 0.5713 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/0.2611, allocations: 14.54 MB / 0.5855 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2198/0.4809, allocations: 1.205 MB / 0.5867 GB, free: 98.72 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001334/0.4823, allocations: 359.2 kB / 0.587 GB, free: 98.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/0.483, allocations: 416.8 kB / 0.5874 GB, free: 98.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.021e-06/0.483, allocations: 0 / 0.5874 GB, free: 98.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07539/0.5584, allocations: 33.12 MB / 0.6198 GB, free: 79.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.57, allocations: 10.72 kB / 0.6198 GB, free: 79.48 MB / 462.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_005_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1)