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.006882/0.006883, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001806/0.001806, allocations: 197.5 kB / 16.68 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2014/0.2014, allocations: 22.35 MB / 312.9 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.52 kB / 436.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07576/0.07766, allocations: 54.98 MB / 491.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004366/0.08207, allocations: 4.007 MB / 495.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.08403, allocations: 1.185 MB / 496.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.08423, allocations: 15.88 kB / 496.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.08454, allocations: 142.7 kB / 496.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.08518, allocations: 389.8 kB / 497.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006356/0.08582, allocations: 287.5 kB / 497.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.08782, allocations: 1.974 MB / 499.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.08944, allocations: 1.464 MB / 0.4893 GB, free: 8.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008021/0.09025, allocations: 0.7521 MB / 0.49 GB, free: 7.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001169/0.09143, allocations: 0.892 MB / 0.4909 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002947/0.09174, allocations: 220 kB / 0.4911 GB, free: 6.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.09209, allocations: 220 kB / 0.4913 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005813/0.09268, allocations: 0.6314 MB / 0.4919 GB, free: 5.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008666/0.09355, allocations: 0.8406 MB / 0.4927 GB, free: 4.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.09576, allocations: 2.391 MB / 0.4951 GB, free: 2.203 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09577, allocations: 0 / 0.4951 GB, free: 2.203 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09578, allocations: 0 / 0.4951 GB, free: 2.203 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.09581, allocations: 4 kB / 0.4951 GB, free: 2.199 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.004158/0.09997, allocations: 1.916 MB / 0.497 GB, free: 232 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1, allocations: 8.031 kB / 0.497 GB, free: 224 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002181/0.1002, allocations: 164.6 kB / 0.4971 GB, free: 52 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002548/0.1005, allocations: 140.3 kB / 0.4973 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.1017, allocations: 0.8176 MB / 0.4981 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.1018, allocations: 74.41 kB / 0.4981 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.102, allocations: 128.3 kB / 0.4982 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.1045, allocations: 1.429 MB / 0.4996 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.1045, allocations: 0 / 0.4996 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.1047, allocations: 40 kB / 0.4997 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.1047, allocations: 24 kB / 0.4997 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.1069, allocations: 1.269 MB / 0.5009 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008718/0.1156, allocations: 6 MB / 0.5068 GB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004371/0.12, allocations: 1.769 MB / 0.5085 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.1212, allocations: 0.691 MB / 0.5092 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.53e-05/0.1212, allocations: 20.92 kB / 0.5092 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1213, allocations: 47.5 kB / 0.5093 GB, free: 3.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.374e-06/0.1213, allocations: 0 / 0.5093 GB, free: 3.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=95): time 0.007489/0.1288, allocations: 3.519 MB / 0.5127 GB, free: 15.37 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.1288, allocations: 60.41 kB / 0.5128 GB, free: 15.3 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008116/0.1297, allocations: 0.633 MB / 0.5134 GB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.624e-05/0.1298, allocations: 41.7 kB / 0.5134 GB, free: 14.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.1301, allocations: 472.6 kB / 0.5139 GB, free: 14.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003761/0.1305, allocations: 404.6 kB / 0.5143 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004186/0.1309, allocations: 222.9 kB / 0.5145 GB, free: 13.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.1311, allocations: 406.7 kB / 0.5149 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.1324, allocations: 0.7407 MB / 0.5156 GB, free: 12.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.1338, allocations: 0.928 MB / 0.5165 GB, free: 11.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.1365, allocations: 1.727 MB / 0.5182 GB, free: 9.602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1365, allocations: 4 kB / 0.5182 GB, free: 9.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004569/0.1411, allocations: 2.313 MB / 0.5204 GB, free: 7.242 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.1411, allocations: 8 kB / 0.5204 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1411, allocations: 4 kB / 0.5204 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001929/0.1431, allocations: 0.4932 MB / 0.5209 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.1447, allocations: 355.5 kB / 0.5213 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/0.1605, allocations: 17.6 MB / 0.5385 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.1617, allocations: 139.2 kB / 0.5386 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.1618, allocations: 40 kB / 0.5386 GB, free: 2.977 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.0006572/0.1625, allocations: 393.4 kB / 0.539 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.1627, allocations: 87.44 kB / 0.5391 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.1666, allocations: 1.881 MB / 0.5409 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.1666, allocations: 8 kB / 0.5409 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1666, allocations: 4 kB / 0.5409 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.1666, allocations: 3.984 kB / 0.5409 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.1685, allocations: 1.489 MB / 0.5424 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1685, allocations: 0 / 0.5424 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/0.1704, allocations: 323.6 kB / 0.5427 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.1718, allocations: 429.1 kB / 0.5431 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/0.172, allocations: 63.97 kB / 0.5432 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/0.1859, allocations: 16.71 MB / 0.5595 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1859, allocations: 0 / 0.5595 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/0.1908, allocations: 2.542 MB / 0.562 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.1911, allocations: 184.3 kB / 0.5621 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.1913, allocations: 59.97 kB / 0.5622 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/0.192, allocations: 47.94 kB / 0.5623 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.1922, allocations: 96.75 kB / 0.5623 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.1923, allocations: 27.98 kB / 0.5624 GB, free: 8.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005947/0.1929, allocations: 455.1 kB / 0.5628 GB, free: 8.473 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1929, allocations: 0 / 0.5628 GB, free: 8.473 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001268/0.1942, allocations: 471.4 kB / 0.5633 GB, free: 8.012 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.005018/0.1992, allocations: 3.149 MB / 0.5663 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004408/0.2037, allocations: 2.942 MB / 0.5692 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2037, allocations: 0 / 0.5692 GB, free: 1.719 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002616/0.2063, allocations: 2.038 MB / 0.5712 GB, free: 15.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.2074, allocations: 277.5 kB / 0.5715 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02365/0.231, allocations: 14.59 MB / 0.5857 GB, free: 376 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1845/0.4155, allocations: 1.201 MB / 0.5869 GB, free: 98.7 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001109/0.4167, allocations: 362.9 kB / 0.5872 GB, free: 98.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000605/0.4173, allocations: 416.6 kB / 0.5876 GB, free: 98.68 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4173, allocations: 0 / 0.5876 GB, free: 98.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4508/0.868, allocations: 32.54 MB / 0.6194 GB, free: 80.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.62, allocations: 11.34 kB / 0.6194 GB, free: 80.04 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)