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.001233/0.001233, allocations: 115.4 kB / 16.39 MB, free: 5.957 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.0009975/0.0009976, allocations: 191 kB / 17.32 MB, free: 5.578 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.22/1.22, 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.08783/0.08783, allocations: 22.33 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.91 kB / 437.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08016/0.08134, allocations: 54.96 MB / 492.6 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.002608/0.08397, allocations: 2.089 MB / 494.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003243/0.08431, allocations: 183.4 kB / 494.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.711e-05/0.0844, allocations: 11.88 kB / 494.9 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.974e-05/0.08447, allocations: 19.78 kB / 494.9 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.08461, allocations: 67.36 kB / 495 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.08474, allocations: 31.95 kB / 495 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.08493, allocations: 222.9 kB / 495.2 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.08513, allocations: 104.5 kB / 495.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.216e-05/0.08523, allocations: 75.67 kB / 495.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.08535, allocations: 95.55 kB / 495.5 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.08538, allocations: 16 kB / 495.5 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.461e-05/0.08541, allocations: 12 kB / 495.5 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.08545, allocations: 31.86 kB / 495.6 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.08554, allocations: 95.55 kB / 495.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.08571, allocations: 195.3 kB / 495.9 MB, free: 1.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.08572, allocations: 0 / 495.9 MB, free: 1.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08573, allocations: 3.938 kB / 495.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.08574, allocations: 0 / 495.9 MB, free: 1.559 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.000507/0.08625, allocations: 486.9 kB / 496.3 MB, free: 1.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.08629, allocations: 8.031 kB / 496.3 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.08634, allocations: 24.59 kB / 496.4 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.08657, allocations: 244.6 kB / 496.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.08659, allocations: 8.656 kB / 496.6 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.08663, allocations: 16.38 kB / 496.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.08684, allocations: 132.4 kB / 496.8 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.08686, allocations: 192 / 496.8 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.08688, allocations: 7.938 kB / 496.8 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.08689, allocations: 4 kB / 496.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.08705, allocations: 76.81 kB / 496.8 MB, free: 488 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.0007608/0.08781, allocations: 0.6454 MB / 497.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.08795, allocations: 46.56 kB / 497.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.088, allocations: 28.94 kB / 497.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.08802, allocations: 4 kB / 497.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.08804, allocations: 34.5 kB / 497.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.08805, allocations: 0 / 497.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002142/0.08827, allocations: 85.48 kB / 497.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.0883, allocations: 51.41 kB / 497.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.08849, allocations: 224.9 kB / 498 MB, free: 15.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.08851, allocations: 29.7 kB / 498 MB, free: 15.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.0886, allocations: 147.9 kB / 498.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.08862, allocations: 15.8 kB / 498.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.08866, allocations: 25.62 kB / 498.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.08876, allocations: 338.7 kB / 498.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.316e-05/0.08882, allocations: 16 kB / 498.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.08888, allocations: 47.36 kB / 498.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.08913, allocations: 95.53 kB / 498.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.08914, allocations: 4 kB / 498.7 MB, free: 14.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001729/0.08932, allocations: 105.4 kB / 498.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.08934, allocations: 8 kB / 498.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.08935, allocations: 3.984 kB / 498.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.08937, allocations: 4.062 kB / 498.8 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/0.08963, allocations: 44.05 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.08964, allocations: 3.938 kB / 498.8 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.576e-05/0.08974, allocations: 19.78 kB / 498.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.08975, allocations: 7.938 kB / 498.8 MB, free: 14.27 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.0001122/0.08987, allocations: 129.8 kB / 499 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.08991, allocations: 19.8 kB / 499 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.866e-05/0.08994, allocations: 13.25 kB / 499 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.08995, allocations: 0 / 499 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.08996, allocations: 0 / 499 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.08996, allocations: 0 / 499 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004984/0.09046, allocations: 424 kB / 499.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.09048, allocations: 0 / 499.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-05/0.09057, allocations: 11.94 kB / 499.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.09058, allocations: 3.984 kB / 499.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.09059, allocations: 7.938 kB / 499.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0906, allocations: 0 / 499.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.0906, allocations: 0 / 499.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.09081, allocations: 201.2 kB / 499.6 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.09087, allocations: 92.92 kB / 499.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.0909, allocations: 3.938 kB / 499.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.091, allocations: 0 / 499.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.09103, allocations: 11.92 kB / 499.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.09103, allocations: 0 / 499.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.09116, allocations: 160.5 kB / 499.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09117, allocations: 0 / 499.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.09143, allocations: 39.97 kB / 499.9 MB, free: 13.05 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 7.553e-05/0.09151, allocations: 99.42 kB / 0.4883 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.09165, allocations: 43.92 kB / 0.4884 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09166, allocations: 3.938 kB / 0.4884 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.638e-05/0.0917, allocations: 19.94 kB / 0.4884 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.09202, allocations: 43.89 kB / 0.4884 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007596/0.09279, allocations: 433.5 kB / 0.4888 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.09302, allocations: 0.7241 MB / 0.4895 GB, free: 11.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.09307, allocations: 15.44 kB / 0.4896 GB, free: 11.62 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09307, allocations: 0 / 0.4896 GB, free: 11.62 MB / 382.1 MB Notification: Performance of Templates: time 0.002988/0.09606, allocations: 1.908 MB / 0.4914 GB, free: 9.719 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)