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.001249/0.001249, allocations: 105.5 kB / 16.41 MB, free: 6.516 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.001035/0.001035, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.27/1.27, 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.09292/0.09292, allocations: 22.31 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08436/0.08556, allocations: 54.96 MB / 492.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002662/0.08826, allocations: 1.945 MB / 494.6 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002924/0.08857, allocations: 147.5 kB / 494.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.508e-05/0.08865, allocations: 7.938 kB / 494.8 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.135e-05/0.08873, allocations: 23.78 kB / 494.8 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.08886, allocations: 51.55 kB / 494.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.08899, allocations: 31.84 kB / 494.9 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.08917, allocations: 171.1 kB / 495 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.08937, allocations: 89.33 kB / 495.1 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.08948, allocations: 63.73 kB / 495.2 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.0896, allocations: 71.64 kB / 495.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.08963, allocations: 12 kB / 495.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.08966, allocations: 8 kB / 495.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.08969, allocations: 31.86 kB / 495.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.934e-05/0.08977, allocations: 79.59 kB / 495.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.08993, allocations: 155.4 kB / 495.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08995, allocations: 3.938 kB / 495.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.08995, allocations: 0 / 495.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.08996, allocations: 0 / 495.5 MB, free: 1.836 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.0005124/0.09048, allocations: 438.8 kB / 496 MB, free: 1.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.816e-05/0.09051, allocations: 8.031 kB / 496 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.09056, allocations: 16.75 kB / 496 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.09079, allocations: 224.7 kB / 496.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.09081, allocations: 8.375 kB / 496.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.09084, allocations: 8.375 kB / 496.2 MB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.09106, allocations: 121.9 kB / 496.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.09107, allocations: 192 / 496.4 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.09109, allocations: 11.94 kB / 496.4 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.0911, allocations: 0 / 496.4 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.09124, allocations: 63.91 kB / 496.4 MB, free: 0.8555 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.0008647/0.09211, allocations: 0.7792 MB / 497.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.09225, allocations: 50.56 kB / 497.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.09231, allocations: 20.94 kB / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.09233, allocations: 3.938 kB / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.09235, allocations: 42.44 kB / 497.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.09236, allocations: 0 / 497.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002096/0.09257, allocations: 73.34 kB / 497.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.09261, allocations: 55.39 kB / 497.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.09278, allocations: 195.9 kB / 497.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.0928, allocations: 29.7 kB / 497.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.09288, allocations: 123.9 kB / 497.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.0929, allocations: 11.81 kB / 497.8 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.09294, allocations: 17.72 kB / 497.8 MB, free: 15.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.09305, allocations: 326.8 kB / 498.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.0931, allocations: 15.98 kB / 498.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.09315, allocations: 25.66 kB / 498.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.09345, allocations: 85.73 kB / 498.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09346, allocations: 0 / 498.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001465/0.09362, allocations: 93.38 kB / 498.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.09364, allocations: 8 kB / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.09365, allocations: 0 / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.09366, allocations: 0 / 498.4 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.09377, allocations: 20.02 kB / 498.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.09378, allocations: 0 / 498.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.022e-05/0.09387, allocations: 11.84 kB / 498.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.09388, allocations: 4 kB / 498.4 MB, free: 14.68 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.0001194/0.09401, allocations: 127 kB / 498.5 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.09405, allocations: 15.83 kB / 498.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.09409, allocations: 16.88 kB / 498.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.0941, allocations: 8 kB / 498.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.09411, allocations: 0 / 498.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.09411, allocations: 0 / 498.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.09432, allocations: 209.6 kB / 498.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.09433, allocations: 3.938 kB / 498.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.09443, allocations: 12.17 kB / 498.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.09444, allocations: 0 / 498.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.09445, allocations: 0 / 498.8 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.09446, allocations: 4.062 kB / 498.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.09446, allocations: 3.984 kB / 498.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.09468, allocations: 183.3 kB / 499 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.09474, allocations: 100.8 kB / 499.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.09477, allocations: 0 / 499.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.926e-05/0.09488, allocations: 0 / 499.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.0949, allocations: 4 kB / 499.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.09491, allocations: 3.938 kB / 499.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.09502, allocations: 149.5 kB / 499.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09503, allocations: 0 / 499.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.09529, allocations: 24.06 kB / 499.2 MB, free: 13.74 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.662e-05/0.09538, allocations: 95.25 kB / 499.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.09551, allocations: 35.98 kB / 499.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09552, allocations: 0 / 499.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.09556, allocations: 19.92 kB / 499.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.09589, allocations: 38.08 kB / 499.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.09645, allocations: 371.6 kB / 499.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.09671, allocations: 0.7084 MB / 0.4888 GB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.09675, allocations: 15.44 kB / 0.4888 GB, free: 12.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09676, allocations: 0 / 0.4888 GB, free: 12.41 MB / 382.1 MB Notification: Performance of Templates: time 0.003053/0.09981, allocations: 1.633 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)