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.000838/0.0008421, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008318/0.008318, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2347/0.2347, allocations: 22.34 MB / 313.8 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006307/0.0006308, allocations: 11.94 kB / 382.6 MB, free: 10.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3953, allocations: 55.97 MB / 438.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.001788/0.3971, allocations: 1.776 MB / 440.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003226/0.3974, allocations: 175 kB / 440.5 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.204e-05/0.3976, allocations: 0 / 440.5 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.3976, allocations: 17.06 kB / 440.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.3978, allocations: 51.22 kB / 440.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.3979, allocations: 21.58 kB / 440.6 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.398, allocations: 164.6 kB / 440.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.3983, allocations: 86.14 kB / 440.8 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.3984, allocations: 53.02 kB / 440.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3985, allocations: 58.81 kB / 441 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3985, allocations: 11.91 kB / 441 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.43e-05/0.3985, allocations: 7.75 kB / 441 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.3986, allocations: 29.81 kB / 441 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.3986, allocations: 91.34 kB / 441.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.3988, allocations: 142.8 kB / 441.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3988, allocations: 0 / 441.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3988, allocations: 0 / 441.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.3988, allocations: 2.75 kB / 441.2 MB, free: 37.48 MB / 350.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.0004639/0.3993, allocations: 420.2 kB / 441.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3993, allocations: 20.69 kB / 441.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.3994, allocations: 15.09 kB / 441.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.3996, allocations: 222.9 kB / 441.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3996, allocations: 9.438 kB / 441.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3996, allocations: 8.219 kB / 441.9 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.3998, allocations: 119.3 kB / 442 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3998, allocations: 192 / 442 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3999, allocations: 3.938 kB / 442 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.3999, allocations: 6.781 kB / 442 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.4, allocations: 70.55 kB / 442.1 MB, free: 36.71 MB / 350.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.0008274/0.4008, allocations: 0.7756 MB / 442.9 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.401, allocations: 46.84 kB / 442.9 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.401, allocations: 20.69 kB / 443 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.401, allocations: 3.938 kB / 443 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.4011, allocations: 34.5 kB / 443 MB, free: 35.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4011, allocations: 4 kB / 443 MB, free: 35.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002116/0.4013, allocations: 74.81 kB / 443.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.4013, allocations: 54.16 kB / 443.1 MB, free: 35.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.4015, allocations: 189 kB / 443.3 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.4015, allocations: 28.73 kB / 443.3 MB, free: 35.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.4016, allocations: 124.3 kB / 443.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.4016, allocations: 18.72 kB / 443.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/0.4016, allocations: 13.09 kB / 443.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.047e-05/0.4017, allocations: 331.9 kB / 443.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.685e-05/0.4017, allocations: 13.22 kB / 443.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.635e-05/0.4018, allocations: 26.41 kB / 443.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.402, allocations: 79.03 kB / 443.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4021, allocations: 0 / 443.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001264/0.4022, allocations: 103 kB / 444 MB, free: 34.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4022, allocations: 5.344 kB / 444 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4022, allocations: 0 / 444 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4022, allocations: 0 / 444 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.4023, allocations: 15.25 kB / 444 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.4023, allocations: 0 / 444 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.4024, allocations: 11.12 kB / 444.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.4024, allocations: 2.219 kB / 444.1 MB, free: 34.98 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, 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: 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.0001277/0.4026, allocations: 143.9 kB / 444.2 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.4026, allocations: 17.34 kB / 444.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.4026, allocations: 19.28 kB / 444.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4027, allocations: 0 / 444.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4027, allocations: 4.125 kB / 444.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4027, allocations: 0 / 444.2 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.4029, allocations: 203.7 kB / 444.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4029, allocations: 6.344 kB / 444.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.403, allocations: 5.562 kB / 444.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.403, allocations: 6.781 kB / 444.5 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.403, allocations: 7.281 kB / 444.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.403, allocations: 0 / 444.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.403, allocations: 0 / 444.5 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.4032, allocations: 173.4 kB / 444.6 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.4032, allocations: 96.33 kB / 444.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.4033, allocations: 6.234 kB / 444.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.4034, allocations: 0 / 444.7 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.4034, allocations: 8 kB / 444.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.4034, allocations: 2.844 kB / 444.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.4035, allocations: 149.4 kB / 444.9 MB, free: 34.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4035, allocations: 0 / 444.9 MB, free: 34.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.4037, allocations: 25.19 kB / 444.9 MB, free: 34.22 MB / 350.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.546e-05/0.4038, allocations: 94.19 kB / 445 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.4039, allocations: 31.2 kB / 445 MB, free: 34.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.404, allocations: 4.062 kB / 445 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.1e-05/0.404, allocations: 19.17 kB / 445.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.4043, allocations: 26.97 kB / 445.1 MB, free: 34.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.4049, allocations: 439.6 kB / 445.5 MB, free: 33.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.4051, allocations: 0.7096 MB / 446.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.522e-05/0.4051, allocations: 14.86 kB / 446.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.4052, allocations: 16.44 kB / 446.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4052, allocations: 0 / 446.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of Templates: time 0.003448/0.4086, allocations: 1.284 MB / 447.5 MB, free: 33 MB / 350.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)