Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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_liquid_circuit_005,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_005") translateModel(AES.Devel_test_models.Test_liquid_circuit_005,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_005") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009226/0.0009226, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2335/0.2335, allocations: 22.33 MB / 313.3 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003802, allocations: 12 kB / 381.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3292, allocations: 55.98 MB / 437.8 MB, free: 39.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.002832/0.3321, allocations: 3.287 MB / 441.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3337, allocations: 1.221 MB / 442.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.334, allocations: 15.56 kB / 442.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.3342, allocations: 113.4 kB / 442.4 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.3346, allocations: 252.8 kB / 442.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.3351, allocations: 180.5 kB / 442.9 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000962/0.3361, allocations: 1.021 MB / 443.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.3373, allocations: 0.9974 MB / 444.9 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007418/0.3381, allocations: 0.5129 MB / 445.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008372/0.3389, allocations: 0.591 MB / 446 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.3391, allocations: 83.19 kB / 446.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.3393, allocations: 82.22 kB / 446.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004038/0.3397, allocations: 450.5 kB / 446.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.34, allocations: 277.3 kB / 446.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3415, allocations: 1.889 MB / 448.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3416, allocations: 0 / 448.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3416, allocations: 0 / 448.7 MB, free: 33.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.368e-05/0.3416, allocations: 6.438 kB / 448.8 MB, free: 33.86 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003377/0.345, allocations: 1.676 MB / 450.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.345, allocations: 15.09 kB / 450.4 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.3453, allocations: 132.1 kB / 450.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.3465, allocations: 0.7816 MB / 451.4 MB, free: 32.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.575e-05/0.3466, allocations: 79.38 kB / 451.4 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.3468, allocations: 125.6 kB / 451.6 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.3493, allocations: 1.414 MB / 453 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.3493, allocations: 3.516 kB / 453 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.3494, allocations: 40.22 kB / 453 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.3495, allocations: 24.69 kB / 453 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.3514, allocations: 1.261 MB / 454.3 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008906/0.3603, allocations: 6.073 MB / 460.4 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.3645, allocations: 1.767 MB / 462.1 MB, free: 26.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.572e-05/0.3646, allocations: 18.11 kB / 462.2 MB, free: 26.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.3646, allocations: 43.78 kB / 462.2 MB, free: 26.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 3.486e-06/0.3646, allocations: 4 kB / 462.2 MB, free: 26.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=95): time 0.006843/0.3715, allocations: 3.572 MB / 465.8 MB, free: 24.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.3715, allocations: 62.66 kB / 465.8 MB, free: 24.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.3725, allocations: 0.6353 MB / 466.5 MB, free: 24.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.87e-05/0.3726, allocations: 45.61 kB / 466.5 MB, free: 24.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.3728, allocations: 459.6 kB / 467 MB, free: 23.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.3732, allocations: 382.1 kB / 467.3 MB, free: 23.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.3733, allocations: 25.72 kB / 467.4 MB, free: 23.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3734, allocations: 408.8 kB / 467.8 MB, free: 23.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.3748, allocations: 0.7372 MB / 468.5 MB, free: 22.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.3761, allocations: 0.9216 MB / 469.4 MB, free: 22.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.3774, allocations: 0.905 MB / 470.3 MB, free: 22.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3774, allocations: 1.375 kB / 470.3 MB, free: 22.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004227/0.3816, allocations: 2.319 MB / 472.6 MB, free: 21.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.3817, allocations: 6.531 kB / 472.7 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.3817, allocations: 4.781 kB / 472.7 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.3836, allocations: 0.4988 MB / 473.2 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.3852, allocations: 364.4 kB / 473.5 MB, free: 20.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.3961, allocations: 16.51 MB / 490 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.3975, allocations: 147.8 kB / 490.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/0.3978, allocations: 46.72 kB / 490.2 MB, free: 5.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009945/0.3988, allocations: 390.2 kB / 490.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003086/0.3992, allocations: 84.3 kB / 490.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.4028, allocations: 1.881 MB / 492.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.4028, allocations: 9.031 kB / 492.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.4028, allocations: 3.562 kB / 492.6 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.4028, allocations: 3.984 kB / 492.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.4048, allocations: 1.484 MB / 494.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4048, allocations: 0 / 494.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.4065, allocations: 323.6 kB / 494.4 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.4077, allocations: 429 kB / 494.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.4078, allocations: 59.97 kB / 494.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/0.4192, allocations: 15.64 MB / 0.4985 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4192, allocations: 0 / 0.4985 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005158/0.4244, allocations: 2.534 MB / 0.501 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/0.4249, allocations: 191.8 kB / 0.5012 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.4253, allocations: 59.97 kB / 0.5012 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/0.4262, allocations: 63.92 kB / 0.5013 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000307/0.4265, allocations: 84.81 kB / 0.5014 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.205e-05/0.4267, allocations: 23.98 kB / 0.5014 GB, free: 13.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007076/0.4274, allocations: 455.1 kB / 0.5018 GB, free: 13.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4274, allocations: 3.938 kB / 0.5018 GB, free: 13.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001888/0.4293, allocations: 471.1 kB / 0.5023 GB, free: 12.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * 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 (84): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(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} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003153/0.4296, allocations: 167.1 kB / 0.5025 GB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004232/0.4338, allocations: 2.938 MB / 0.5053 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4339, allocations: 0 / 0.5053 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002401/0.4363, allocations: 2.027 MB / 0.5073 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4373, allocations: 266.8 kB / 0.5076 GB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.4463, allocations: 6.08 MB / 0.5135 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.4474, allocations: 1.229 MB / 0.5147 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00122/0.4487, allocations: 363 kB / 0.515 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.449, allocations: 75.42 kB / 0.5151 GB, free: 15.15 MB / 398.1 MB Notification: Performance of SimCode: time 6.62e-07/0.449, allocations: 0 / 0.5151 GB, free: 15.15 MB / 398.1 MB Notification: Performance of Templates: time 0.03071/0.4798, allocations: 19.59 MB / 0.5342 GB, free: 11.79 MB / 414.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_005.makefile Environment - environmentSimulation: (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_005 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1) Environment - environmentSimulation: