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.001356/0.001356, allocations: 113.4 kB / 16.37 MB, free: 5.953 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.001402/0.001402, allocations: 190.2 kB / 17.3 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.327/1.327, 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.09131/0.09131, allocations: 22.33 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 69.89 kB / 382.2 MB, free: 41.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0937/0.09546, allocations: 54.96 MB / 437.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.003257/0.09875, allocations: 2.079 MB / 439.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005253/0.09931, allocations: 187.3 kB / 439.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.09944, allocations: 7.938 kB / 439.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.73e-05/0.09952, allocations: 23.78 kB / 439.5 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.09975, allocations: 67.41 kB / 439.6 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.09994, allocations: 35.91 kB / 439.6 MB, free: 9.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.1002, allocations: 215 kB / 439.8 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002969/0.1005, allocations: 107.2 kB / 439.9 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1007, allocations: 79.66 kB / 440 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.1009, allocations: 87.56 kB / 440.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.1009, allocations: 16 kB / 440.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.556e-05/0.1009, allocations: 12 kB / 440.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.101, allocations: 35.92 kB / 440.1 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1011, allocations: 99.47 kB / 440.2 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1013, allocations: 195.3 kB / 440.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1014, allocations: 0 / 440.4 MB, free: 9.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1014, allocations: 4 kB / 440.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1014, allocations: 0 / 440.4 MB, free: 9.016 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.000605/0.102, allocations: 478.8 kB / 440.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.102, allocations: 11.97 kB / 440.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.1021, allocations: 16.75 kB / 440.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1024, allocations: 232.7 kB / 441.2 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1024, allocations: 12.66 kB / 441.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.1025, allocations: 24.31 kB / 441.2 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.1027, allocations: 128.4 kB / 441.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1027, allocations: 192 / 441.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.1028, allocations: 11.88 kB / 441.3 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1028, allocations: 4 kB / 441.3 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.103, allocations: 76.8 kB / 441.4 MB, free: 7.945 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.0008902/0.1039, allocations: 0.6648 MB / 442.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.104, allocations: 46.56 kB / 442.1 MB, free: 7.141 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.1041, allocations: 24.86 kB / 442.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1041, allocations: 0 / 442.1 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1041, allocations: 30.56 kB / 442.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1041, allocations: 4 kB / 442.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002233/0.1044, allocations: 93.42 kB / 442.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1044, allocations: 55.41 kB / 442.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1046, allocations: 221 kB / 442.5 MB, free: 6.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1046, allocations: 25.7 kB / 442.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.061e-05/0.1047, allocations: 147.8 kB / 442.7 MB, free: 6.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1047, allocations: 19.8 kB / 442.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.1048, allocations: 17.72 kB / 442.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1049, allocations: 338.8 kB / 443.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.105, allocations: 16 kB / 443.1 MB, free: 6.105 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.1051, allocations: 51.36 kB / 443.1 MB, free: 6.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.1056, allocations: 95.34 kB / 443.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.1056, allocations: 0 / 443.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.1058, allocations: 109.4 kB / 443.3 MB, free: 5.824 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1058, allocations: 8 kB / 443.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1058, allocations: 0 / 443.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.1058, allocations: 0 / 443.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.1061, allocations: 39.98 kB / 443.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1061, allocations: 4.062 kB / 443.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.1062, allocations: 15.78 kB / 443.4 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1062, allocations: 7.938 kB / 443.4 MB, free: 5.75 MB / 318.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.0001314/0.1064, allocations: 129.8 kB / 443.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.1064, allocations: 15.81 kB / 443.6 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.1065, allocations: 13.25 kB / 443.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1065, allocations: 4 kB / 443.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1065, allocations: 3.938 kB / 443.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1065, allocations: 4.219 kB / 443.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.107, allocations: 412.1 kB / 444 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1071, allocations: 0 / 444 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.719e-05/0.1071, allocations: 12.17 kB / 444 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.1072, allocations: 8.078 kB / 444 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1072, allocations: 19.88 kB / 444 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1072, allocations: 0 / 444 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1072, allocations: 0 / 444 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1074, allocations: 201 kB / 444.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.1075, allocations: 96.89 kB / 444.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.1076, allocations: 4 kB / 444.3 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1077, allocations: 7.984 kB / 444.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.1077, allocations: 4 kB / 444.3 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1078, allocations: 3.938 kB / 444.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1079, allocations: 172.5 kB / 444.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1079, allocations: 0 / 444.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1082, allocations: 24 kB / 444.5 MB, free: 4.523 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 8.919e-05/0.1083, allocations: 95.25 kB / 444.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1085, allocations: 51.92 kB / 444.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1085, allocations: 0 / 444.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.412e-05/0.1086, allocations: 12 kB / 444.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1089, allocations: 40.56 kB / 444.7 MB, free: 4.316 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000865/0.1098, allocations: 412.2 kB / 445.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1101, allocations: 0.7202 MB / 445.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.1102, allocations: 17.55 kB / 445.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.1102, allocations: 15.44 kB / 445.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1102, allocations: 0 / 445.9 MB, free: 3.109 MB / 318.1 MB Notification: Performance of Templates: time 0.004074/0.1143, allocations: 1.541 MB / 447.4 MB, free: 1.59 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 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)