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.001131/0.001131, allocations: 109.6 kB / 15.99 MB, free: 6.348 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.001141/0.001141, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.196/1.196, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08672/0.08672, allocations: 22.32 MB / 313.1 MB, free: 8.918 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.48 kB / 380.9 MB, free: 41.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07169/0.07294, allocations: 54.97 MB / 435.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003112/0.07607, allocations: 2.296 MB / 438.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004127/0.0765, allocations: 199.2 kB / 438.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.07666, allocations: 4 kB / 438.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.323e-05/0.07673, allocations: 19.84 kB / 438.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.07689, allocations: 55.53 kB / 438.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.07702, allocations: 39.97 kB / 438.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.07722, allocations: 218.8 kB / 438.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.07745, allocations: 96.5 kB / 438.8 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.07757, allocations: 87.59 kB / 438.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.07768, allocations: 87.64 kB / 439 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.07772, allocations: 12 kB / 439 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.616e-05/0.07775, allocations: 16 kB / 439 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.07779, allocations: 35.84 kB / 439 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.07788, allocations: 91.55 kB / 439.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.07802, allocations: 147.9 kB / 439.3 MB, free: 9.949 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.07803, allocations: 0 / 439.3 MB, free: 9.949 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.07803, allocations: 0 / 439.3 MB, free: 9.949 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.07804, allocations: 0 / 439.3 MB, free: 9.949 MB / 318.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.0005679/0.07861, allocations: 486.7 kB / 439.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.07865, allocations: 12.03 kB / 439.7 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.0787, allocations: 20.69 kB / 439.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.07891, allocations: 235.9 kB / 440 MB, free: 9.117 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.07894, allocations: 8.656 kB / 440 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.07897, allocations: 16.31 kB / 440 MB, free: 9.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.07923, allocations: 132.4 kB / 440.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.984e-06/0.07924, allocations: 192 / 440.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.07926, allocations: 11.94 kB / 440.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.07928, allocations: 4 kB / 440.2 MB, free: 8.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.07943, allocations: 80.8 kB / 440.2 MB, free: 8.867 MB / 318.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.0008455/0.08028, allocations: 0.6467 MB / 440.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.08041, allocations: 50.56 kB / 440.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.08047, allocations: 28.94 kB / 441 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.08049, allocations: 0 / 441 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.08052, allocations: 30.56 kB / 441 MB, free: 8.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.08053, allocations: 0 / 441 MB, free: 8.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002575/0.08079, allocations: 89.34 kB / 441.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.08083, allocations: 59.41 kB / 441.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.08101, allocations: 225 kB / 441.4 MB, free: 7.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.08104, allocations: 25.7 kB / 441.4 MB, free: 7.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.08112, allocations: 147.8 kB / 441.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.08114, allocations: 11.81 kB / 441.5 MB, free: 7.426 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.08119, allocations: 25.7 kB / 441.6 MB, free: 7.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.08129, allocations: 326.8 kB / 441.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.88e-05/0.08135, allocations: 23.98 kB / 441.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.08141, allocations: 55.3 kB / 442 MB, free: 6.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.08169, allocations: 91.36 kB / 442.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.0817, allocations: 0 / 442.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001686/0.08187, allocations: 109.4 kB / 442.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.08189, allocations: 8 kB / 442.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.0819, allocations: 240 / 442.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.08192, allocations: 0 / 442.2 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.08216, allocations: 39.98 kB / 442.2 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.08218, allocations: 7.922 kB / 442.2 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.08227, allocations: 23.77 kB / 442.2 MB, free: 6.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.08229, allocations: 15.98 kB / 442.3 MB, free: 6.668 MB / 318.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, 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.0001309/0.08242, allocations: 132.6 kB / 442.4 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.08246, allocations: 15.81 kB / 442.4 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.0825, allocations: 17.23 kB / 442.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.08251, allocations: 0 / 442.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.08252, allocations: 0 / 442.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.08254, allocations: 0 / 442.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.08305, allocations: 420.1 kB / 442.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.08306, allocations: 64 / 442.8 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.358e-05/0.08315, allocations: 15.94 kB / 442.8 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.08316, allocations: 4 kB / 442.8 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.08318, allocations: 3.938 kB / 442.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.08318, allocations: 3.984 kB / 442.9 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.08319, allocations: 4 kB / 442.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.08344, allocations: 197.1 kB / 443 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.0835, allocations: 96.88 kB / 443.1 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.08353, allocations: 7.938 kB / 443.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.675e-05/0.08364, allocations: 4 kB / 443.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.08366, allocations: 8 kB / 443.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.08367, allocations: 7.984 kB / 443.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.08379, allocations: 160.5 kB / 443.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0838, allocations: 0 / 443.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.08407, allocations: 32 kB / 443.4 MB, free: 5.449 MB / 318.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 6.692e-05/0.08414, allocations: 91.25 kB / 443.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.08428, allocations: 51.91 kB / 443.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.08429, allocations: 128 / 443.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.08433, allocations: 19.94 kB / 443.5 MB, free: 5.281 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.08464, allocations: 32.78 kB / 443.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.08548, allocations: 0.4903 MB / 444 MB, free: 4.719 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.08576, allocations: 0.7241 MB / 444.8 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.08581, allocations: 15.44 kB / 444.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.08582, allocations: 0 / 444.8 MB, free: 3.957 MB / 318.1 MB Notification: Performance of Templates: time 0.003141/0.08896, allocations: 1.914 MB / 446.7 MB, free: 2.055 MB / 318.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)