Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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: translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 105.4 kB / 16.41 MB, free: 6.457 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.001069/0.001069, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09726/0.09726, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 67.89 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.09104, allocations: 54.95 MB / 492.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002987/0.09407, allocations: 1.956 MB / 494.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004123/0.0945, allocations: 155.4 kB / 494.8 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.216e-05/0.09461, allocations: 0 / 494.8 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.757e-05/0.09468, allocations: 19.8 kB / 494.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.09484, allocations: 59.47 kB / 494.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.09499, allocations: 27.97 kB / 494.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.09522, allocations: 175.1 kB / 495.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.09543, allocations: 85.3 kB / 495.1 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.09555, allocations: 63.78 kB / 495.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.09568, allocations: 79.56 kB / 495.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.09571, allocations: 12 kB / 495.3 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.71e-05/0.09574, allocations: 8 kB / 495.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.09578, allocations: 23.92 kB / 495.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.228e-05/0.09586, allocations: 75.61 kB / 495.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.09604, allocations: 155.4 kB / 495.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.09605, allocations: 0 / 495.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09606, allocations: 4 kB / 495.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.09608, allocations: 0 / 495.5 MB, free: 1.855 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005901/0.09667, allocations: 438.8 kB / 496 MB, free: 1.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.09671, allocations: 8.031 kB / 496 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.09676, allocations: 20.73 kB / 496 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.09705, allocations: 216.7 kB / 496.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.09708, allocations: 8.375 kB / 496.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.09711, allocations: 12.38 kB / 496.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.09732, allocations: 123.8 kB / 496.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.09734, allocations: 192 / 496.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.09736, allocations: 7.938 kB / 496.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.09738, allocations: 4 kB / 496.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.09752, allocations: 63.91 kB / 496.4 MB, free: 0.8711 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) * Candidate: P.port.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.09848, allocations: 0.7897 MB / 497.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.09863, allocations: 50.5 kB / 497.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.09871, allocations: 16.86 kB / 497.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.09875, allocations: 3.938 kB / 497.3 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.09877, allocations: 38.64 kB / 497.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.09878, allocations: 3.938 kB / 497.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000222/0.09901, allocations: 73.69 kB / 497.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.09905, allocations: 55.41 kB / 497.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.09923, allocations: 195.9 kB / 497.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.09925, allocations: 25.7 kB / 497.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.09932, allocations: 123.9 kB / 497.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.09935, allocations: 15.81 kB / 497.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.0994, allocations: 25.64 kB / 497.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.09951, allocations: 326.8 kB / 498.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.029e-05/0.0996, allocations: 12 kB / 498.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.397e-05/0.09965, allocations: 25.7 kB / 498.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.09996, allocations: 77.69 kB / 498.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.09997, allocations: 0 / 498.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/0.1001, allocations: 97.44 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1002, allocations: 10.33 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1002, allocations: 4 kB / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1002, allocations: 3.984 kB / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1003, allocations: 12 kB / 498.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1003, allocations: 0 / 498.4 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.1004, allocations: 11.92 kB / 498.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1004, allocations: 8.031 kB / 498.4 MB, free: 14.69 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.1006, allocations: 125.7 kB / 498.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.1006, allocations: 11.84 kB / 498.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.1007, allocations: 16.92 kB / 498.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1007, allocations: 0 / 498.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1007, allocations: 4 kB / 498.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1007, allocations: 0 / 498.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1009, allocations: 205.6 kB / 498.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1009, allocations: 3.938 kB / 498.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.101, allocations: 11.98 kB / 498.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.101, allocations: 0 / 498.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.101, allocations: 4 kB / 498.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.101, allocations: 0 / 498.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.101, allocations: 0 / 498.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.1013, allocations: 187.2 kB / 499 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.1014, allocations: 92.95 kB / 499.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.1014, allocations: 7.938 kB / 499.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.1015, allocations: 0 / 499.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.1015, allocations: 3.984 kB / 499.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1015, allocations: 4 kB / 499.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.1017, allocations: 149.5 kB / 499.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1017, allocations: 0 / 499.2 MB, free: 13.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000252/0.1019, allocations: 20 kB / 499.2 MB, free: 13.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.014e-05/0.102, allocations: 95.25 kB / 499.3 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1022, allocations: 39.92 kB / 499.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1022, allocations: 0 / 499.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.481e-05/0.1023, allocations: 12 kB / 499.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.1026, allocations: 40.17 kB / 499.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006113/0.1032, allocations: 363.5 kB / 499.8 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1035, allocations: 0.7161 MB / 0.4888 GB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1035, allocations: 15.44 kB / 0.4888 GB, free: 12.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1035, allocations: 0 / 0.4888 GB, free: 12.43 MB / 382.1 MB Notification: Performance of Templates: time 0.003202/0.1067, allocations: 1.652 MB / 0.4904 GB, free: 10.78 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & ./AES_AES.Devel_test_models.Test_header_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)