Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HC_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_HC_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HC_001") translateModel(AES.Devel_test_models.Test_HC_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HC_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 119.5 kB / 16.42 MB, free: 6.496 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.00173/0.00173, allocations: 187.9 kB / 17.35 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.336/1.336, allocations: 222.9 MB / 241.1 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.09495/0.09495, allocations: 22.32 MB / 313.5 MB, free: 8.91 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.89 kB / 437.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08622, allocations: 54.96 MB / 492.7 MB, free: 4.781 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HC_001): time 0.006773/0.09303, allocations: 6.682 MB / 499.4 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.09616, allocations: 1.879 MB / 0.4895 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006826/0.09686, allocations: 31.81 kB / 0.4895 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.09748, allocations: 285.6 kB / 0.4898 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.09882, allocations: 0.7224 MB / 0.4905 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.0999, allocations: 0.515 MB / 0.491 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002949/0.1029, allocations: 3.354 MB / 0.4943 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.1055, allocations: 2.525 MB / 0.4968 GB, free: 4.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.1073, allocations: 1.348 MB / 0.4981 GB, free: 3.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.1093, allocations: 1.496 MB / 0.4995 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006508/0.11, allocations: 403.9 kB / 0.4999 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.1107, allocations: 400 kB / 0.5003 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008549/0.1116, allocations: 1.041 MB / 0.5013 GB, free: 8 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1778/0.2894, allocations: 1.463 MB / 0.5028 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.2927, allocations: 4.368 MB / 0.507 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2927, allocations: 1.203 kB / 0.507 GB, free: 11.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2927, allocations: 0 / 0.507 GB, free: 11.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.331e-05/0.2928, allocations: 0.75 kB / 0.507 GB, free: 11.68 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.00575/0.2985, allocations: 2.791 MB / 0.5097 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2986, allocations: 8.875 kB / 0.5098 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.299, allocations: 226 kB / 0.51 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.3009, allocations: 1.356 MB / 0.5113 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.3011, allocations: 165.5 kB / 0.5115 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003441/0.3014, allocations: 204.9 kB / 0.5116 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00406/0.3055, allocations: 2.412 MB / 0.514 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.3055, allocations: 0 / 0.514 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/0.3058, allocations: 69.28 kB / 0.5141 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.3058, allocations: 44.55 kB / 0.5141 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003301/0.3091, allocations: 2.181 MB / 0.5162 GB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.3228, allocations: 10.71 MB / 0.5267 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006329/0.3292, allocations: 2.934 MB / 0.5296 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.3307, allocations: 1.208 MB / 0.5307 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.642e-05/0.3308, allocations: 23.09 kB / 0.5308 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.3309, allocations: 53.28 kB / 0.5308 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006233/0.3315, allocations: 132.8 kB / 0.5309 GB, free: 1.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=154): time 3.356e-06/0.3315, allocations: 0 / 0.5309 GB, free: 1.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=155): time 0.0154/0.3469, allocations: 9.297 MB / 0.54 GB, free: 11.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.347, allocations: 71.61 kB / 0.5401 GB, free: 10.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.3481, allocations: 0.933 MB / 0.541 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001461/0.3482, allocations: 53.64 kB / 0.5411 GB, free: 10.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.3487, allocations: 0.7154 MB / 0.5418 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/0.3492, allocations: 0.5876 MB / 0.5423 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005772/0.3498, allocations: 309.2 kB / 0.5426 GB, free: 9.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.528e-05/0.3499, allocations: 305.1 kB / 0.5429 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.3516, allocations: 1.251 MB / 0.5441 GB, free: 8.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/0.3534, allocations: 1.348 MB / 0.5454 GB, free: 7.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02309/0.3765, allocations: 6.813 MB / 0.5521 GB, free: 388 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3766, allocations: 11.94 kB / 0.5521 GB, free: 376 kB / 398.1 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006458/0.383, allocations: 3.627 MB / 0.5557 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3831, allocations: 10.31 kB / 0.5557 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.3831, allocations: 8.656 kB / 0.5557 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/0.3859, allocations: 0.8978 MB / 0.5565 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.3883, allocations: 0.493 MB / 0.557 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02643/0.4148, allocations: 38.72 MB / 0.5948 GB, free: 1.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.4166, allocations: 79.92 kB / 0.5949 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/0.417, allocations: 63.97 kB / 0.595 GB, free: 1.004 MB / 446.1 MB Warning: Assuming fixed start value for the following 3 variables: HC.H.Ec:VARIABLE(flow=false fixed = true ) type: Real HC.H.Tfo:VARIABLE(min = 0.0 start = HC.H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real HC.H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003113/0.4201, allocations: 1.732 MB / 0.5967 GB, free: 15.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00203/0.4221, allocations: 1.35 MB / 0.598 GB, free: 13.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02324/0.4454, allocations: 6.789 MB / 0.6046 GB, free: 7.074 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/0.4454, allocations: 4 kB / 0.6046 GB, free: 7.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=228) (initialization_lambda0): time 0.006707/0.4521, allocations: 3.621 MB / 0.6082 GB, free: 3.398 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.4521, allocations: 8 kB / 0.6082 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4522, allocations: 4 kB / 0.6082 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.4549, allocations: 0.8968 MB / 0.6091 GB, free: 2.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.4574, allocations: 0.5029 MB / 0.6095 GB, free: 1.938 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02618/0.4836, allocations: 38.71 MB / 0.6473 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.4854, allocations: 75.92 kB / 0.6474 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003023/0.4857, allocations: 67.97 kB / 0.6475 GB, free: 7.707 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: HC.H.Ec:VARIABLE(flow=false fixed = true ) type: Real HC.H.Tfo:VARIABLE(min = 0.0 start = HC.H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real HC.H.xpi:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (ON.y,HC.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 25 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006556/0.4863, allocations: 285.2 kB / 0.6478 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004074/0.4868, allocations: 146.2 kB / 0.6479 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005982/0.4927, allocations: 3.156 MB / 0.651 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.802e-05/0.4928, allocations: 11.91 kB / 0.651 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4928, allocations: 3.938 kB / 0.651 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.4932, allocations: 223.4 kB / 0.6512 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.4935, allocations: 83.97 kB / 0.6513 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.4946, allocations: 71.91 kB / 0.6514 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.495, allocations: 133.1 kB / 0.6515 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01143/0.5064, allocations: 4.596 MB / 0.656 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005918/0.5123, allocations: 4.293 MB / 0.6602 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00187/0.5142, allocations: 1.424 MB / 0.6616 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009137/0.5151, allocations: 0.6418 MB / 0.6622 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of Backend: time 5.61e-07/0.5152, allocations: 0 / 0.6622 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01059/0.5258, allocations: 9.013 MB / 0.671 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of SimCode: time 0.008865/0.5346, allocations: 7.143 MB / 0.678 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.2499/0.7845, allocations: 51.4 MB / 0.7282 GB, free: 189 MB / 0.5606 GB make -j1 -f AES_AES.Devel_test_models.Test_HC_001.makefile (rm -f AES_AES.Devel_test_models.Test_HC_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HC_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HC_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HC_001.sim & ./AES_AES.Devel_test_models.Test_HC_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HC_001.pipe 2>&1)