Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") translateModel(AES.Devel_test_models.Test_header_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 111.8 kB / 16.41 MB, free: 6.488 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.001158/0.001158, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09738/0.09738, allocations: 22.32 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08471/0.08616, allocations: 54.95 MB / 492.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002957/0.08915, allocations: 2.097 MB / 494.8 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004173/0.08959, allocations: 175.4 kB / 494.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.08971, allocations: 4 kB / 494.9 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.961e-05/0.0898, allocations: 23.72 kB / 495 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.08998, allocations: 67.41 kB / 495 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.09013, allocations: 47.83 kB / 495.1 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.09036, allocations: 210.9 kB / 495.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.09059, allocations: 112.4 kB / 495.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.09073, allocations: 75.72 kB / 495.5 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.09087, allocations: 87.56 kB / 495.6 MB, free: 1.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.931e-05/0.09091, allocations: 16 kB / 495.6 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.407e-05/0.09095, allocations: 16 kB / 495.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.09099, allocations: 35.84 kB / 495.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.352e-05/0.09108, allocations: 91.55 kB / 495.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.09128, allocations: 199.2 kB / 495.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.09129, allocations: 4 kB / 495.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09131, allocations: 4 kB / 495.9 MB, free: 1.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.09132, allocations: 0 / 495.9 MB, free: 1.504 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005752/0.0919, allocations: 474.9 kB / 496.4 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.09194, allocations: 8.031 kB / 496.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.098e-05/0.092, allocations: 28.64 kB / 496.4 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.09228, allocations: 240.6 kB / 496.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.09231, allocations: 12.66 kB / 496.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.09234, allocations: 12.38 kB / 496.7 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.0926, allocations: 136.3 kB / 496.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.09261, allocations: 192 / 496.8 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.09264, allocations: 7.938 kB / 496.8 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.09265, allocations: 4 kB / 496.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.09283, allocations: 76.8 kB / 496.9 MB, free: 440 kB / 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) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008652/0.0937, allocations: 0.6418 MB / 497.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.09384, allocations: 54.56 kB / 497.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.272e-05/0.09391, allocations: 28.92 kB / 497.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.09393, allocations: 3.938 kB / 497.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.09396, allocations: 30.56 kB / 497.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.09396, allocations: 0 / 497.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002374/0.0942, allocations: 93.42 kB / 497.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.09425, allocations: 55.41 kB / 497.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.09447, allocations: 224.9 kB / 498 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.09449, allocations: 25.7 kB / 498 MB, free: 15.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.09458, allocations: 143.9 kB / 498.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.0946, allocations: 15.8 kB / 498.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.09466, allocations: 29.62 kB / 498.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.09477, allocations: 326.8 kB / 498.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.09482, allocations: 19.98 kB / 498.6 MB, free: 14.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.355e-05/0.0949, allocations: 51.36 kB / 498.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.09517, allocations: 95.34 kB / 498.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.09519, allocations: 0 / 498.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.09538, allocations: 113.4 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.0954, allocations: 4 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.09541, allocations: 4 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.09543, allocations: 4 kB / 498.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.09571, allocations: 39.97 kB / 498.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.09573, allocations: 0 / 498.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.09583, allocations: 15.84 kB / 498.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.09585, allocations: 12 kB / 498.9 MB, free: 14.23 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: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001279/0.09598, allocations: 129.7 kB / 499 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.09603, allocations: 15.81 kB / 499 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.09606, allocations: 17.23 kB / 499.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.09607, allocations: 0 / 499.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.09608, allocations: 0 / 499.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.09609, allocations: 0 / 499.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.09664, allocations: 420 kB / 499.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.09665, allocations: 0 / 499.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.09674, allocations: 8 kB / 499.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.09676, allocations: 4 kB / 499.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.09678, allocations: 3.938 kB / 499.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.09679, allocations: 3.984 kB / 499.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.0968, allocations: 8.031 kB / 499.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/0.09703, allocations: 197 kB / 499.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.0971, allocations: 93.22 kB / 499.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.09713, allocations: 7.938 kB / 499.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.09724, allocations: 4 kB / 499.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.09726, allocations: 8.047 kB / 499.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.09727, allocations: 7.984 kB / 499.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.09742, allocations: 160.5 kB / 500 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.09742, allocations: 0 / 500 MB, free: 13.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.09771, allocations: 35.91 kB / 500 MB, free: 13.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.163e-05/0.09779, allocations: 95.19 kB / 0.4884 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.09796, allocations: 51.91 kB / 0.4884 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.09797, allocations: 128 / 0.4884 GB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.09801, allocations: 16.19 kB / 0.4884 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.09836, allocations: 40.7 kB / 0.4885 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.09923, allocations: 437.4 kB / 0.4889 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.09951, allocations: 0.7241 MB / 0.4896 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.09957, allocations: 15.44 kB / 0.4896 GB, free: 11.57 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.09957, allocations: 0 / 0.4896 GB, free: 11.57 MB / 382.1 MB Notification: Performance of Templates: time 0.003404/0.103, allocations: 1.919 MB / 0.4915 GB, free: 9.664 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_header_001.makefile (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & ./AES_AES.Devel_test_models.Test_header_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)